Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Retry failed SSL session cache allocations

Maxim Dounin
February 23, 2013 06:56AM
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 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.
>
> Attached patch fixes this by adding retry logic to "sess_id" & "id" allocations.

Committed, thank you.

--
Maxim Dounin
http://nginx.com/support.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Retry failed SSL session cache allocations

Piotr Sikora 846 February 22, 2013 05:08PM

Re: [PATCH] Retry failed SSL session cache allocations

Maxim Dounin 383 February 23, 2013 06:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready