aboutsummaryrefslogtreecommitdiff
path: root/src/http/v2/ngx_http_v2.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-08-18 16:22:00 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-08-18 16:22:00 +0300
commitfd6df645ebf2de0ba7bcd8df2dfd7337f5ab516f (patch)
treee80276b4b7c41ed0d6c4f960064d59f50d7ddb62 /src/http/v2/ngx_http_v2.c
parentff1941d6ddb014da8b085c7ca9ba1098b4ec35a5 (diff)
parentb2d09a4cdd865a8997f68fbaa1e928f0dc0b6ef0 (diff)
downloadnginx-fd6df645ebf2de0ba7bcd8df2dfd7337f5ab516f.tar.gz
nginx-fd6df645ebf2de0ba7bcd8df2dfd7337f5ab516f.zip
Merged with the default branch.
Diffstat (limited to 'src/http/v2/ngx_http_v2.c')
-rw-r--r--src/http/v2/ngx_http_v2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
index ec553ecfe..51c8b0a71 100644
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -475,6 +475,7 @@ ngx_http_v2_write_handler(ngx_event_t *wev)
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
"http2 write event timed out");
c->error = 1;
+ c->timedout = 1;
ngx_http_v2_finalize_connection(h2c, 0);
return;
}