]> git.kaiwu.me - nginx.git/commit
SSL: fixed SSL shutdown on lingering close.
authorRuslan Ermilov <ru@nginx.com>
Mon, 7 Dec 2020 22:43:36 +0000 (01:43 +0300)
committerRuslan Ermilov <ru@nginx.com>
Mon, 7 Dec 2020 22:43:36 +0000 (01:43 +0300)
commite62a5132ca6ab74f324bf46fe91ee89e1951578c
treeaf6466408c02d152c872216911b66e004e6a5140
parentcfa669151e605410cfb57cc70b0e4023f4777602
SSL: fixed SSL shutdown on lingering close.

Ensure c->recv is properly reset to ngx_recv if SSL_shutdown()
blocks on writing.

The bug had appeared in 554c6ae25ffc.
src/event/ngx_event_openssl.c
src/http/ngx_http_request.c
src/http/v2/ngx_http_v2.c