LIBRESSL-SSL_SET_MAX_SEND_FRAGMENT(3)

πŸ“¦ version 4.4.0, in alpine 3.24, arch rolling

🌸 SSL_SET_MAX_SEND_FRAGMENT(3) 🌸

Okay bestie, welcome to the Library Functions Manual page for SSL_SET_MAX_SEND_FRAGMENT(3). Tiny header note: it spells the title SSL_SET_MAX_SEND_FRAGMEN(3) up top β€” the T ghosted us, no cap β€” but the footer and page name use the full SSL_SET_MAX_SEND_FRAGMENT(3). We proceed, gorgeous. πŸ’…


πŸŽ€ NAME πŸŽ€

SSL_CTX_set_max_send_fragment, SSL_set_max_send_fragment β€” control fragment sizes. That's the whole assignment, bestie: fragment sizes are getting controlled. πŸ’–

✨ SYNOPSIS ✨

library β€œlibssl” libcrypto #include <openssl/ssl.h>

long
SSL_CTX_set_max_send_fragment(SSL_CTX *ctx, long m);

long
SSL_set_max_send_fragment(SSL *ssl, long m);

πŸ’… DESCRIPTION πŸ’…

So SSL_CTX_set_max_send_fragment() and SSL_set_max_send_fragment() set the max_send_fragment parameter for SSL_CTX and SSL objects respectively. Respectively! We love a precise queen. πŸ‘‘

This value restricts the amount of plaintext bytes that will be sent in any one SSL/TLS record. By default its value is SSL3_RT_MAX_PLAIN_LENGTH (16384). These functions will only accept a value in the range 512 - SSL3_RT_MAX_PLAIN_LENGTH. Lowkey strict, highkey fair. ✨

These functions are implemented using macros. Macro girlies, stand up. 🧚

πŸ¦‹ RETURN VALUES πŸ¦‹

These functions return 1 on success or 0 on failure. Binary icon behavior, periodt. πŸ’€

🌈 SEE ALSO 🌈

πŸŽ€ HISTORY πŸŽ€

SSL_CTX_set_max_send_fragment() and SSL_set_max_send_fragment() first appeared in OpenSSL 1.0.0 and have been available since OpenBSD 4.9. History besties, rise. πŸ’œ


And that's the whole page, bestie. The footer says this cutie is from Debian, dated June 8, 2025, and answers to SSL_SET_MAX_SEND_FRAGMENT(3). πŸ«ΆπŸ’–

πŸ“¦ where this page comes from