diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2013-03-29 17:17:45 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-03-29 17:17:45 +0000 |
| commit | e4010d888ffb07e12da2bdfecd9284871be27e52 (patch) | |
| tree | 6967e641f95268af7764666360d0ffbc16ff9bc8 /src/http/ngx_http_request.c | |
| parent | 0e7eb773de932c4c6ab4d517e489d217b2fc0387 (diff) | |
| download | nginx-e4010d888ffb07e12da2bdfecd9284871be27e52.tar.gz nginx-e4010d888ffb07e12da2bdfecd9284871be27e52.tar.bz2 | |
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions
