mirror of
https://github.com/nginx/nginx.git
synced 2024-12-26 08:51:03 -06:00
HTTP/2: fixed worker_shutdown_timeout.
This commit is contained in:
parent
f878492af3
commit
6052881a98
@ -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 New Issue
Block a user