# HG changeset patch # User Sergey Kandaurov # Date 1689161255 -14400 # Node ID f91dc350be9f4a6bf1379a32a210afece7b0d75e # Parent 77c1418916f7817a0d020f28d8a08f278a12fe43 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 @@ -581,6 +581,7 @@ ngx_http_v3_header_filter(ngx_http_reque for (cl = out; cl; cl = cl->next) { h3c->total_bytes += cl->buf->last - cl->buf->pos; + r->header_size += cl->buf->last - cl->buf->pos; } return ngx_http_write_filter(r, out);