Re: [PATCH] Retry failed SSL session cache allocations

2013-02-23 Thread Maxim Dounin
Hello! On Fri, Feb 22, 2013 at 02:06:20PM -0800, Piotr Sikora wrote: > Hey, > 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

[PATCH] Retry failed SSL session cache allocations

2013-02-22 Thread Piotr Sikora
Hey, 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", w