Function s2n_quic_tls::ffi::s2n_config_accept_max_fragment_length
source · pub unsafe extern "C" fn s2n_config_accept_max_fragment_length(
config: *mut s2n_config
) -> i32
Expand description
Allows the server to opt-in to accept client’s TLS maximum fragment length extension requests. If this API is not called, and client requests the extension, server will ignore the request and continue TLS handshake with default maximum fragment length of 8k bytes
@note Some TLS implementations do not respect their peer’s max fragment length extension.
@param config The configuration object being updated @returns S2N_SUCCESS on success. S2N_FAILURE on failure