diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2023-07-12 15:27:35 +0400 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2023-07-12 15:27:35 +0400 |
commit | 4d3a9cc11fb883a7fa8b4f1859047acc121741d3 (patch) | |
tree | dba5e619d321a544d21d9a6bded05c84a30ac6d4 /src | |
parent | 6bdfd58f2660c394306ef34fe825d2f02f5ba813 (diff) | |
download | nginx-4d3a9cc11fb883a7fa8b4f1859047acc121741d3.tar.gz nginx-4d3a9cc11fb883a7fa8b4f1859047acc121741d3.zip |
HTTP/3: fixed $body_bytes_sent.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/v3/ngx_http_v3_filter_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/v3/ngx_http_v3_filter_module.c b/src/http/v3/ngx_http_v3_filter_module.c index 7addf275d..4d2276dc0 100644 --- 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_request_t *r) 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); |