Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/3: fixed $body_bytes_sent.

Sergey Kandaurov
July 12, 2023 07:34AM
details: https://hg.nginx.org/nginx/rev/f91dc350be9f
branches:
changeset: 9133:f91dc350be9f
user: Sergey Kandaurov <pluknet@nginx.com>
date: Wed Jul 12 15:27:35 2023 +0400
description:
HTTP/3: fixed $body_bytes_sent.

diffstat:

src/http/v3/ngx_http_v3_filter_module.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 77c1418916f7 -r f91dc350be9f src/http/v3/ngx_http_v3_filter_module.c
--- a/src/http/v3/ngx_http_v3_filter_module.c Thu Jun 08 14:58:01 2023 +0400
+++ b/src/http/v3/ngx_http_v3_filter_module.c Wed Jul 12 15:27:35 2023 +0400
@@ -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);
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] HTTP/3: fixed $body_bytes_sent.

Sergey Kandaurov 496 July 12, 2023 07:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready