SSL_CTX_set_num_tickets

Set how many TLSv1.3 session tickets servers created from a context send after a full handshake.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_set_num_tickets(
    SSL_CTX* ctx,
    size_t num_tickets);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxServer SSL context whose default ticket count is set (typically before the handshake).
num_ticketsNumber of tickets to send; 0 disables tickets (resumption still issues at most one if non-zero).