]> git.kaiwu.me - nginx.git/commitdiff
HTTP/3: fixed $connection_requests.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 15 Mar 2021 13:25:54 +0000 (16:25 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 15 Mar 2021 13:25:54 +0000 (16:25 +0300)
Previously, the value was always "1".

src/http/v3/ngx_http_v3_request.c

index b997c29a1c8eb5aad392ca850832fc12b3496db5..4dc67307820591a53f93bb19bbc8ea81d4584469 100644 (file)
@@ -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;