From e62a5132ca6ab74f324bf46fe91ee89e1951578c Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 8 Dec 2020 01:43:36 +0300 Subject: 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/http/v2/ngx_http_v2.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/http/v2') diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index 58916a184..77b60d42e 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -739,8 +739,6 @@ ngx_http_v2_lingering_close(ngx_connection_t *c) c->ssl->handler = ngx_http_v2_lingering_close; return; } - - c->recv = ngx_recv; } #endif -- cgit