comparison src/event/ngx_event_openssl.h @ 7871:5f765427c17a

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).
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 01 Jun 2021 17:37:51 +0300
parents 59e1c73fe02b
children 37be19a3c0ee 6674a50cbb6c
comparison
equal deleted inserted replaced
7870:fecf645ff2f8 7871:5f765427c17a
98 unsigned handshake_rejected:1; 98 unsigned handshake_rejected:1;
99 unsigned renegotiation:1; 99 unsigned renegotiation:1;
100 unsigned buffer:1; 100 unsigned buffer:1;
101 unsigned no_wait_shutdown:1; 101 unsigned no_wait_shutdown:1;
102 unsigned no_send_shutdown:1; 102 unsigned no_send_shutdown:1;
103 unsigned shutdown_without_free:1;
103 unsigned handshake_buffer_set:1; 104 unsigned handshake_buffer_set:1;
104 unsigned try_early_data:1; 105 unsigned try_early_data:1;
105 unsigned in_early:1; 106 unsigned in_early:1;
106 unsigned in_ocsp:1; 107 unsigned in_ocsp:1;
107 unsigned early_preread:1; 108 unsigned early_preread:1;