mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 11:31:24 +00:00
QUIC: fixed leak of bytes_in_flight attributed to lost packets.
This commit is contained in:
parent
cb0e3a2658
commit
f1b0afde65
1 changed files with 1 additions and 0 deletions
|
|
@ -3764,6 +3764,7 @@ ngx_quic_detect_lost(ngx_connection_t *c, ngx_uint_t ack)
|
|||
q = ngx_queue_next(q);
|
||||
|
||||
ngx_queue_remove(&f->queue);
|
||||
qc->congestion.in_flight -= f->len;
|
||||
ngx_queue_insert_tail(&range, &f->queue);
|
||||
|
||||
} while (q != ngx_queue_sentinel(&ctx->sent));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue