[#SSL_CTX_set_recv_max_early_data]
= SSL&lowbar;CTX&lowbar;set&lowbar;recv&lowbar;max&lowbar;early&lowbar;data
:mrdocs:

Set how many rejected early&hyphen;data bytes a server context will skip before aborting&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;set&lowbar;recv&lowbar;max&lowbar;early&lowbar;data(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    uint32&lowbar;t recv&lowbar;max&lowbar;early&lowbar;data);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Server SSL context&period;
| *recv&lowbar;max&lowbar;early&lowbar;data*
| Maximum skipped or accepted early&hyphen;data bytes (default 16384)&period;
|===


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