[#SSL_allow_early_data_cb_fn]
= SSL&lowbar;allow&lowbar;early&lowbar;data&lowbar;cb&lowbar;fn
:mrdocs:

Server callback that decides whether to accept TLSv1&period;3 early data for a connection&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* SSL&lowbar;allow&lowbar;early&lowbar;data&lowbar;cb&lowbar;fn)(xref:SSL.adoc[SSL]*, void*);
----

== Return Value

1 to allow early data, or 0 to reject it&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Server SSL connection that received early data &sol; a 0&hyphen;RTT ClientHello&period;
| *arg*
| Application pointer from SSL&lowbar;CTX&lowbar;set&lowbar;allow&lowbar;early&lowbar;data&lowbar;cb() &sol; SSL&lowbar;set&lowbar;allow&lowbar;early&lowbar;data&lowbar;cb()&period;
|===


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