]> 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)
commit5eadaf69e394c030056e4190d86dae0262f8617c
treea04db9e5af7194a87d75cff338fb6d086d05ad64
parent235d2df1de6aba77db3d128c0c637c9d2e9a9d12
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