From: Ruslan Ermilov Date: Mon, 23 Sep 2019 12:45:36 +0000 (+0300) Subject: HTTP/2: fixed worker_shutdown_timeout. X-Git-Tag: release-1.17.4~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=6052881a987fc5cd39c8666a9b39ddfeadc895ee;p=nginx.git HTTP/2: fixed worker_shutdown_timeout. --- diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index db95bdd99..d0e44475c 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -354,6 +354,11 @@ ngx_http_v2_read_handler(ngx_event_t *rev) if (c->close) { c->close = 0; + if (c->error) { + ngx_http_v2_finalize_connection(h2c, 0); + return; + } + if (!h2c->goaway) { h2c->goaway = 1;