commit | f0bbbaad134eaed3a14636bd59a19790915a2d81 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Mon Sep 23 15:45:36 2019 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Mon Sep 23 15:45:36 2019 +0300 |
tree | a8434aff694a41a731ea5367d90d4caffbc1c9ca | |
parent | ec02f0736ab837286bb4a938e8649bf7cfd92fa3 [diff] |
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 db95bdd..d0e4447 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c
@@ -354,6 +354,11 @@ if (c->close) { c->close = 0; + if (c->error) { + ngx_http_v2_finalize_connection(h2c, 0); + return; + } + if (!h2c->goaway) { h2c->goaway = 1;