]> git.kaiwu.me - nginx.git/commit
SSL: raised limit for sessions stored in shared memory.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 25 Feb 2025 15:50:44 +0000 (19:50 +0400)
committerpluknet <pluknet@nginx.com>
Wed, 26 Feb 2025 13:40:03 +0000 (17:40 +0400)
commit91245922027767c64e4e6661bf5e7623365c2328
tree033d8ff20bdc4f1f23ee6e5dcac6fab5a516f2bb
parent3d7304b527d1fb6eb697eb8719f286ba7b8e90de
SSL: raised limit for sessions stored in shared memory.

Upstream SSL sessions may be of a noticeably larger size with tickets
in TLSv1.2 and older versions, or with "stateless" tickets in TLSv1.3,
if a client certificate is saved into the session.  Further, certain
stateless session resumption implemetations may store additional data.

Such one is JDK, known to also include server certificates in session
ticket data, which roughly doubles a decoded session size to slightly
beyond the previous limit.  While it's believed to be an issue on the
JDK side, this change allows to save such sessions.

Another, innocent case is using RSA certificates with 8192 key size.
src/event/ngx_event_openssl.h