comparison src/event/ngx_event_quic.c @ 8506:03ec6ab67752 quic

QUIC: fixed leak of bytes_in_flight attributed to lost packets.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 14 Aug 2020 16:53:56 +0300
parents 240931629995
children 7f9938cbcd12
comparison
equal deleted inserted replaced
8505:240931629995 8506:03ec6ab67752
3762 } 3762 }
3763 3763
3764 q = ngx_queue_next(q); 3764 q = ngx_queue_next(q);
3765 3765
3766 ngx_queue_remove(&f->queue); 3766 ngx_queue_remove(&f->queue);
3767 qc->congestion.in_flight -= f->len;
3767 ngx_queue_insert_tail(&range, &f->queue); 3768 ngx_queue_insert_tail(&range, &f->queue);
3768 3769
3769 } while (q != ngx_queue_sentinel(&ctx->sent)); 3770 } while (q != ngx_queue_sentinel(&ctx->sent));
3770 3771
3771 ngx_quic_congestion_lost(c, start->last); 3772 ngx_quic_congestion_lost(c, start->last);