diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-02-12 14:40:33 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-02-12 14:40:33 +0300 |
commit | 8084a829d022ddb5ebc16393a82e5374edb1a8f5 (patch) | |
tree | ca6b48db9aac2edfeabe5f4aa4ce78a04b298399 /src/http/ngx_http_request.c | |
parent | dbd812efd2bf08067651f73fc820c2bdce767382 (diff) | |
download | nginx-8084a829d022ddb5ebc16393a82e5374edb1a8f5.tar.gz nginx-8084a829d022ddb5ebc16393a82e5374edb1a8f5.zip |
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
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions