Disable the session ticket TLS extension.

Gbp-Pq: Name session-ticket.patch
This commit is contained in:
Jeremy Nickurak 2022-05-14 03:18:56 +08:00 committed by openKylinBot
parent e5c63b5ab3
commit 1e7b193dc1
1 changed files with 1 additions and 0 deletions

View File

@ -1584,6 +1584,7 @@ struct tls_connection * tls_connection_init(void *ssl_ctx)
#ifdef SSL_OP_NO_COMPRESSION
options |= SSL_OP_NO_COMPRESSION;
#endif /* SSL_OP_NO_COMPRESSION */
options |= SSL_OP_NO_TICKET;
SSL_set_options(conn->ssl, options);
#ifdef SSL_OP_ENABLE_MIDDLEBOX_COMPAT
/* Hopefully there is no need for middlebox compatibility mechanisms