pub unsafe extern "C" fn s2n_config_set_server_max_early_data_size(
    config: *mut s2n_config,
    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 config maximum can be overridden by the connection maximum or the maximum on an external pre-shared key.

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