Set the maximum early-data bytes a server context may accept or advertise.
Declared in <openssl/ssl.h>
int
SSL_CTX_set_max_early_data(
SSL_CTX* ctx,
uint32_t max_early_data);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Server SSL context (or client context whose sessions advertise early data). |
| max_early_data | Maximum early-data payload in bytes; 0 disables early data. |