HTTP/2: fixed worker_shutdown_timeout.
This commit is contained in:
parent
cf1bc32243
commit
36a28c0baf
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue