Skip to content

Commit

Permalink
HTTP/2: fixed worker_shutdown_timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdocguard committed Sep 23, 2019
1 parent f878492 commit 6052881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/http/v2/ngx_http_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6052881

Please sign in to comment.