Function s2n_tls_sys::s2n_connection_release_buffers

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

Wipes and free the in and out buffers associated with a connection.

@note This function may be called when a connection is in keep-alive or idle state to reduce memory overhead of long lived connections.

@param conn A pointer to the s2n_connection object @returns S2N_SUCCESS on success. S2N_FAILURE on failure