diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2021-06-01 17:37:51 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-06-01 17:37:51 +0300 |
commit | 5eadaf69e394c030056e4190d86dae0262f8617c (patch) | |
tree | a04db9e5af7194a87d75cff338fb6d086d05ad64 /src/event/ngx_event_openssl.h | |
parent | 235d2df1de6aba77db3d128c0c637c9d2e9a9d12 (diff) | |
download | nginx-5eadaf69e394c030056e4190d86dae0262f8617c.tar.gz nginx-5eadaf69e394c030056e4190d86dae0262f8617c.zip |
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).
Diffstat (limited to 'src/event/ngx_event_openssl.h')
-rw-r--r-- | src/event/ngx_event_openssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event_openssl.h b/src/event/ngx_event_openssl.h index 329760d09..a415b4bda 100644 --- a/src/event/ngx_event_openssl.h +++ b/src/event/ngx_event_openssl.h @@ -100,6 +100,7 @@ struct ngx_ssl_connection_s { unsigned buffer:1; unsigned no_wait_shutdown:1; unsigned no_send_shutdown:1; + unsigned shutdown_without_free:1; unsigned handshake_buffer_set:1; unsigned try_early_data:1; unsigned in_early:1; |