[PATCH] HTTP/3: fixed $body_bytes_sent
Sergey Kandaurov
pluknet at nginx.com
Tue Jun 20 13:43:03 UTC 2023
# HG changeset patch
# User Sergey Kandaurov <pluknet at nginx.com>
# Date 1687268079 -14400
# Tue Jun 20 17:34:39 2023 +0400
# Node ID a95bffe430283bf25341ad9745ffe1199e7c2190
# Parent bf4bd5af4d7fdadab83616be9218604b658e3d84
HTTP/3: fixed $body_bytes_sent.
diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c
--- a/src/http/v3/ngx_http_v3_filter_module.c
+++ b/src/http/v3/ngx_http_v3_filter_module.c
@@ -540,6 +540,8 @@ ngx_http_v3_header_filter(ngx_http_reque
*ll = hl;
ll = &cl->next;
+ r->header_size = n + (b->last - b->pos);
+
if (r->headers_out.content_length_n >= 0
&& !r->header_only && !r->expect_trailers)
{
More information about the nginx-devel
mailing list