]> git.kaiwu.me - nginx.git/commit
SSL: reduced logging of session cache failures (ticket #621).
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2022 17:14:36 +0000 (20:14 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 12 Oct 2022 17:14:36 +0000 (20:14 +0300)
commit4ea6baf7bc64cd9936f9e8684667e04471b038f4
tree5a21bc4eec4f516021e597807b93a30c7a6ff22f
parent23ce9baf0e9802571eae59f29c83eee18628e568
SSL: reduced logging of session cache failures (ticket #621).

Session cache allocations might fail as long as the new session is different
in size from the one least recently used (and freed when the first allocation
fails).  In particular, it might not be possible to allocate space for
sessions with client certificates, since they are noticeably bigger than
normal sessions.

To ensure such allocation failures won't clutter logs, logging level changed
to "warn", and logging is now limited to at most one warning per second.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h