[#SSL_SESSION_get_max_early_data]
= SSL&lowbar;SESSION&lowbar;get&lowbar;max&lowbar;early&lowbar;data
:mrdocs:

Return the maximum early&hyphen;data (0&hyphen;RTT) size allowed for a session&period;

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint32&lowbar;t
SSL&lowbar;SESSION&lowbar;get&lowbar;max&lowbar;early&lowbar;data(xref:SSL_SESSION.adoc[SSL&lowbar;SESSION] const* s);
----

== Return Value

Maximum early&hyphen;data bytes that may be sent when resuming `s,` or 0 if early data is not allowed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Session to query (typically from a prior handshake with the server)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
