aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-03-15 16:25:54 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-03-15 16:25:54 +0300
commit7d1cf8ffb442727bc8e54630dd565c8139cead67 (patch)
treef36f14ecdc8fe6668b8d8e5d3b69eedb30274b16 /src/http/v3/ngx_http_v3_request.c
parent25a74b52d14fa0e0bbac4c0d1b3e432bbb31ca97 (diff)
downloadnginx-7d1cf8ffb442727bc8e54630dd565c8139cead67.tar.gz
nginx-7d1cf8ffb442727bc8e54630dd565c8139cead67.zip
HTTP/3: fixed $connection_requests.
Previously, the value was always "1".
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r--src/http/v3/ngx_http_v3_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c
index b997c29a1..4dc673078 100644
--- a/src/http/v3/ngx_http_v3_request.c
+++ b/src/http/v3/ngx_http_v3_request.c
@@ -165,6 +165,7 @@ ngx_http_v3_init(ngx_connection_t *c)
* cscf->large_client_header_buffers.num;
c->data = r;
+ c->requests = n + 1;
rev = c->read;
rev->handler = ngx_http_v3_process_request;