private-octopus / picoquic

Minimal implementation of the QUIC protocol
MIT License
527 stars 156 forks source link

Revise the RTT computation code #1508

Closed huitema closed 1 year ago

huitema commented 1 year ago

This PR started as an exploration of "using Max RTT as PTO". This exploration was inconclusive -- using the Max RTT "since the beginning of the connection" often fails, because the high RTT values observed during start up are not adequate values for the retransmission time in the "stable" phases. However, slightly diminishing the value of the timer by using 3 rttvar instead of 4 appears advantageous.