mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 22:09:01 +08: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);
|
||||
|
||||
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…
Reference in New Issue
Block a user