GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_SET_MAX_SEND_FRAGMENT(3) FreeBSD Library Functions Manual SSL_SET_MAX_SEND_FRAGMENT(3)

SSL_CTX_set_max_send_fragment, SSL_set_max_send_fragmentcontrol fragment sizes

#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);

() and () set the parameter for SSL_CTX and SSL objects respectively. 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.

These functions are implemented using macros.

These functions return 1 on success or 0 on failure.

ssl(3), SSL_ctrl(3), SSL_CTX_set_read_ahead(3), SSL_pending(3)

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.

June 12, 2019 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.