mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
QUIC: fixed leak of bytes_in_flight attributed to lost packets.
This commit is contained in:
parent
cb0e3a2658
commit
f1b0afde65
@ -3764,6 +3764,7 @@ ngx_quic_detect_lost(ngx_connection_t *c, ngx_uint_t ack)
|
|||||||
q = ngx_queue_next(q);
|
q = ngx_queue_next(q);
|
||||||
|
|
||||||
ngx_queue_remove(&f->queue);
|
ngx_queue_remove(&f->queue);
|
||||||
|
qc->congestion.in_flight -= f->len;
|
||||||
ngx_queue_insert_tail(&range, &f->queue);
|
ngx_queue_insert_tail(&range, &f->queue);
|
||||||
|
|
||||||
} while (q != ngx_queue_sentinel(&ctx->sent));
|
} while (q != ngx_queue_sentinel(&ctx->sent));
|
||||||
|
Loading…
Reference in New Issue
Block a user