Latest update - 7572
This commit is contained in:
@@ -356,6 +356,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;
|
||||
|
||||
@@ -515,13 +520,12 @@ ngx_http_v2_send_output_queue(ngx_http_v2_connection_t *h2c)
|
||||
ngx_http_core_loc_conf_t *clcf;
|
||||
|
||||
c = h2c->connection;
|
||||
wev = c->write;
|
||||
|
||||
if (c->error) {
|
||||
return NGX_ERROR;
|
||||
goto error;
|
||||
}
|
||||
|
||||
wev = c->write;
|
||||
|
||||
if (!wev->ready) {
|
||||
return NGX_AGAIN;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user