Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.c @ 8290:faa3201ff351 quic
QUIC: improved setting the lost timer.
Setting the timer is brought into compliance with quic-recovery-34. Now it's
set from a single function ngx_quic_set_lost_timer() that takes into account
both loss detection and PTO. The following issues are fixed with this change:
- when in loss detection mode, discarding a context could turn off the
timer forever after switching to the PTO mode
- when in loss detection mode, sending a packet resulted in rescheduling the
timer as if it's always in the PTO mode
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 12 Feb 2021 14:40:33 +0300 |
parents | 532fe796b0e2 |
children | 13f7085b90d2 |
comparison
equal
deleted
inserted
replaced
8289:88c9c868a7c9 | 8290:faa3201ff351 |
---|