[#SSL_SESSION_set_max_early_data] = SSL_SESSION_set_max_early_data :mrdocs: Set the maximum early‐data (0‐RTT) size advertised for a session. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_SESSION_set_max_early_data( xref:SSL_SESSION.adoc[SSL_SESSION]* s, uint32_t max_early_data); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *s* | Session to update. | *max_early_data* | Maximum early‐data bytes allowed when resuming `s.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#