Skip to content

Commit

Permalink
HTTP/3: fixed $body_bytes_sent.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluknet committed Jul 12, 2023
1 parent 6bdfd58 commit 4d3a9cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/v3/ngx_http_v3_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d3a9cc

Please sign in to comment.