The official NGINX Open Source repository.
Go to file
Maxim Dounin e4010d888f Merge of r5082: SSL: retry "sess_id" and "id" allocations.
SSL: retry "sess_id" and "id" allocations.

In case of fully populated SSL session cache with no memory left for
new allocations, ngx_ssl_new_session() will try to expire the oldest
non-expired session and retry, but only in case when slab allocation
fails for "cached_sess", not when slab allocation fails for either
"sess_id" or "id", which can happen for number of reasons and results
in new session not being cached.

Patch fixes this by adding retry logic to "sess_id" & "id" allocations.

Patch by Piotr Sikora.
2013-03-29 17:17:45 +00:00
auto Merge of r5071: rebuild perl module on headers change. 2013-03-29 17:13:45 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.2.7-RELEASE 2013-02-12 13:40:16 +00:00
misc Merge of r5005, r5031, r5066: PCRE and OpenSSL for win32 builds. 2013-02-11 23:57:13 +00:00
src Merge of r5082: SSL: retry "sess_id" and "id" allocations. 2013-03-29 17:17:45 +00:00
.hgtags release-1.2.7 tag 2013-02-12 13:40:46 +00:00