diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-14 16:53:56 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-14 16:53:56 +0300 |
commit | f1b0afde65c3f697bc8f77f50705b06e805402ee (patch) | |
tree | 6b8d0f1409022e70ef5d4e644bae7573a412034c /src | |
parent | cb0e3a2658d8b0be313bddd07ebb2599253f9856 (diff) | |
download | nginx-f1b0afde65c3f697bc8f77f50705b06e805402ee.tar.gz nginx-f1b0afde65c3f697bc8f77f50705b06e805402ee.zip |
QUIC: fixed leak of bytes_in_flight attributed to lost packets.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_quic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 65b949387..a3189e264 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -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)); |