aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-08-14 16:53:56 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-08-14 16:53:56 +0300
commitf1b0afde65c3f697bc8f77f50705b06e805402ee (patch)
tree6b8d0f1409022e70ef5d4e644bae7573a412034c /src
parentcb0e3a2658d8b0be313bddd07ebb2599253f9856 (diff)
downloadnginx-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.c1
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));