[#SSL_CTX_set_num_tickets] = SSL_CTX_set_num_tickets :mrdocs: Set how many TLSv1.3 session tickets servers created from a context send after a full handshake. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set_num_tickets( xref:SSL_CTX.adoc[SSL_CTX]* ctx, size_t num_tickets); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Server SSL context whose default ticket count is set (typically before the handshake). | *num_tickets* | Number of tickets to send; 0 disables tickets (resumption still issues at most one if non‐zero). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#