]> git.kaiwu.me - nginx.git/commit
QUIC: sending probe packets on PTO timer expiration.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 19 Aug 2020 10:24:23 +0000 (13:24 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 19 Aug 2020 10:24:23 +0000 (13:24 +0300)
commitfa82dccd2aab6dcb090b992e199448c850972dff
tree4a1d7f866e7edcda4d3c1cf692c6ec0d843f226e
parent160242dd2e8544f21056056ce1b36b209bfaea63
QUIC: sending probe packets on PTO timer expiration.

The PTO handler is split into separate PTO and loss detection handlers
that operate interchangeably depending on which timer should be set.

The present ngx_quic_lost_handler is now only used for packet loss detection.
It replaces ngx_quic_pto_handler if there are packets preceeding largest_ack.
Once there is no more such packets, ngx_quic_pto_handler is installed again.

Probes carry unacknowledged data previously sent in the oldest packet number,
one per each packet number space.  That is, it could be up to two probes.

PTO backoff is now increased before scheduling next probes.
src/event/ngx_event_quic.c