Function s2n_tls_sys::s2n_connection_prefer_throughput

source ·
pub unsafe extern "C" fn s2n_connection_prefer_throughput(
    conn: *mut s2n_connection
) -> c_int
Expand description

Change the behavior of s2n-tls when sending data to prefer high throughput.

Connections preferring throughput will use large record sizes that minimize overhead.

@param conn The connection object being updated @returns S2N_SUCCESS on success. S2N_FAILURE on failure