pub unsafe extern "C" fn s2n_connection_get_max_early_data_size(
conn: *mut s2n_connection,
max_early_data_size: *mut u32,
) -> i32
Expand description
Reports the maximum size of the early data allowed by a connection.
This is the maximum amount of early data that can ever be sent and received for a connection. It is not affected by the actual status of the early data, so can be non-zero even if early data is rejected or not requested.
@param conn A pointer to the connection
@param max_early_data_size A pointer which will be set to the maximum early data allowed by conn
@returns A POSIX error signal.