diff options
| author | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-19 13:24:30 +0300 |
|---|---|---|
| committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-08-19 13:24:30 +0300 |
| commit | 3bf7b02e6eccb6e51161693d887fccac18afaf38 (patch) | |
| tree | 63afd2a2ccc5ea22b49ca7253f93b94cf65e911d /src | |
| parent | fa82dccd2aab6dcb090b992e199448c850972dff (diff) | |
| download | nginx-3bf7b02e6eccb6e51161693d887fccac18afaf38.tar.gz nginx-3bf7b02e6eccb6e51161693d887fccac18afaf38.tar.bz2 | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/event/ngx_event_quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 51d32eb83..f0f07bf38 100644 --- 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; |
