Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eliminate the difference between when having no RTT sample and having one #3525

Merged
merged 12 commits into from
Apr 18, 2020
8 changes: 3 additions & 5 deletions draft-ietf-quic-recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,10 @@ smoothed_rtt = rtt_sample
rttvar = rtt_sample / 2
~~~

where rtt_sample is the initial RTT.

On the first RTT sample for the network path, smoothed_rtt and rttvar are set to
the values using the formula above, using that first RTT sample as rtt_sample.
Before any RTT samples are available, the initial RTT is used as rtt_sample.
On the first RTT sample for the network path, that sample is used as rtt_sample.
This ensures that the first measurement erases the history of any persisted or
default value.
default values.

On subsequent RTT samples, smoothed_rtt and rttvar evolve as follows:
ianswett marked this conversation as resolved.
Show resolved Hide resolved

Expand Down