mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
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.
This commit is contained in:
parent
fa82dccd2a
commit
3bf7b02e6e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user