Set how many TLSv1.3 session tickets servers created from a context send after a full handshake.
Declared in <openssl/ssl.h>
int
SSL_CTX_set_num_tickets(
SSL_CTX* ctx,
size_t num_tickets);
1 on success, or 0 on failure.
| 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). |