TSSslTicketKeyUpdate
Synopsis
#include <ts/ts.h>
-
TSReturnCode TSSslTicketKeyUpdate(char *ticketData, int ticketDataLength)
Description
注釈
The session ID-based session cache and its associated APIs (TSSslSessionGet, TSSslSessionGetBuffer,
TSSslSessionInsert, TSSslSessionRemove) were removed in ATS 11.x.
TLS session resumption is now only supported via session tickets.
TSSslTicketKeyUpdate() updates the running ATS process to use a new set of Session Ticket Encryption keys.
This behaves the same way as updating the session ticket encrypt key file with new data and reloading the
current ATS process. However, this API does not require writing session ticket encryption keys to disk.
If both the ticket key files and TSSslTicketKeyUpdate() are used to update session ticket encryption keys,
ATS will use the most recent update regardless of whether it was made by file and configuration reload or API.