pub unsafe extern "C" fn s2n_connection_set_server_max_early_data_size(
    conn: *mut s2n_connection,
    max_early_data_size: u32
) -> c_int
Expand description

Sets the maximum bytes of early data the server will accept.

The default maximum is 0. If the maximum is 0, the server rejects all early data requests. The connection maximum can be overridden by the maximum on an external pre-shared key.

@param conn A pointer to the connection @param max_early_data_size The maximum early data the server will accept @return A POSIX error signal. If successful, the maximum early data size was updated.