HTTP/2: fixed worker_shutdown_timeout.

This commit is contained in:
Ruslan Ermilov 2019-09-23 15:45:36 +03:00
parent f878492af3
commit 6052881a98

View File

@ -354,6 +354,11 @@ ngx_http_v2_read_handler(ngx_event_t *rev)
if (c->close) { if (c->close) {
c->close = 0; c->close = 0;
if (c->error) {
ngx_http_v2_finalize_connection(h2c, 0);
return;
}
if (!h2c->goaway) { if (!h2c->goaway) {
h2c->goaway = 1; h2c->goaway = 1;