mirror of
https://github.com/nginx/nginx.git
synced 2024-12-03 21:18:59 +08:00
HTTP/3: fixed $body_bytes_sent.
This commit is contained in:
parent
6bdfd58f26
commit
4d3a9cc11f
@ -581,6 +581,7 @@ ngx_http_v3_header_filter(ngx_http_request_t *r)
|
|||||||
|
|
||||||
for (cl = out; cl; cl = cl->next) {
|
for (cl = out; cl; cl = cl->next) {
|
||||||
h3c->total_bytes += cl->buf->last - cl->buf->pos;
|
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);
|
return ngx_http_write_filter(r, out);
|
||||||
|
Loading…
Reference in New Issue
Block a user