nginx/src
Maxim Dounin 76876c160f SSL: single allocation in session cache on 32-bit platforms.
Given the present typical SSL session sizes, on 32-bit platforms it is
now beneficial to store all data in a single allocation, since rbtree
node + session id + ASN1 representation of a session takes 256 bytes of
shared memory (36 + 32 + 150 = about 218 bytes plus SNI server name).

Storing all data in a single allocation is beneficial for SNI names up to
about 40 characters long and makes it possible to store about 4000 sessions
in one megabyte (instead of about 3000 sessions now).  This also slightly
simplifies the code.
2022-10-12 20:14:40 +03:00
..
core PROXY protocol v2 TLV variables. 2022-10-12 16:58:16 +04:00
event SSL: single allocation in session cache on 32-bit platforms. 2022-10-12 20:14:40 +03:00
http PROXY protocol v2 TLV variables. 2022-10-12 16:58:16 +04:00
mail Mail: connections with wrong ALPN protocols are now rejected. 2021-10-20 09:45:34 +03:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Win32: disabled C4306 warnings with MSVC. 2022-09-07 00:47:07 +03:00
stream PROXY protocol v2 TLV variables. 2022-10-12 16:58:16 +04:00