]> git.kaiwu.me - nginx.git/commit
Fixed SSL logging with lingering close.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 1 Jun 2021 14:37:51 +0000 (17:37 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 1 Jun 2021 14:37:51 +0000 (17:37 +0300)
commit63572fce5577dd5ec68bb1204d20cdb946cd6418
tree94e2a564f12bd3d4698783bfdde35f3903a8f31a
parent4a5108b203404e6a2453e58fce667bde84e603b2
Fixed SSL logging with lingering close.

Recent fixes to SSL shutdown with lingering close (554c6ae25ffc, 1.19.5)
broke logging of SSL variables.  To make sure logging of SSL variables
works properly, avoid freeing c->ssl when doing an SSL shutdown before
lingering close.

Reported by Reinis Rozitis
(http://mailman.nginx.org/pipermail/nginx/2021-May/060670.html).
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/http/ngx_http_request.c