# HG changeset patch # User Ruslan Ermilov # Date 1569242736 -10800 # Node ID ab5cac9d3f001fc03fadba1d2a1364cac8837263 # Parent d6cf51af8a3de524266821d4d225dd56c8674fc7 HTTP/2: fixed worker_shutdown_timeout. diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c --- 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 *re if (c->close) { c->close = 0; + if (c->error) { + ngx_http_v2_finalize_connection(h2c, 0); + return; + } + if (!h2c->goaway) { h2c->goaway = 1;