changeset 8727:a64255c01dab quic

HTTP/3: fixed $connection_requests. Previously, the value was always "1".
author Roman Arutyunyan <arut@nginx.com>
date Mon, 15 Mar 2021 16:25:54 +0300
parents 55aabb7269e7
children f1986657fc26
files src/http/v3/ngx_http_v3_request.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;