# HG changeset patch # User Sergey Kandaurov # Date 1597832670 -10800 # Node ID 52c88f41d24c76b11748c6f0bc07b3335805ac04 # Parent 38f1be6c603f6f061cd6325ac29b2cc74816dc1a QUIC: handling packets with send time equal to lost send time. Previously, such packets weren't handled as the resulting zero remaining time prevented setting the loss detection timer, which, instead, could be disarmed. For implementation details, see quic-recovery draft 29, appendix A.10. diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -3792,7 +3792,7 @@ ngx_quic_detect_lost(ngx_connection_t *c "quic detect_lost pnum:%ui thr:%M wait:%i level:%d", start->pnum, thr, (ngx_int_t) wait, start->level); - if ((ngx_msec_int_t) wait >= 0) { + if ((ngx_msec_int_t) wait > 0) { if (min_wait == 0 || wait < min_wait) { min_wait = wait;