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

Stop using initial timeout #4263

Merged
merged 3 commits into from Nov 3, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 1 addition & 5 deletions draft-ietf-quic-transport.md
Expand Up @@ -2255,11 +2255,7 @@ Endpoints SHOULD abandon path validation based on a timer. When setting this
timer, implementations are cautioned that the new path could have a longer
round-trip time than the original. A value of three times the larger of the
current Probe Timeout (PTO) or the PTO for the new path (that is, using
kInitialRtt as defined in {{QUIC-RECOVERY}}) is RECOMMENDED. That is:

~~~
validation_timeout = 3*max(PTO_current, PTO_new)
~~~
kInitialRtt as defined in {{QUIC-RECOVERY}}) is RECOMMENDED.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the computation back in? With the corrected values of course:

That is, validation timeout = max(3*PTO, 9*kInitialRtt)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But that is wrong. Because the PTO on the new path is 9*kInitialRtt on the handshake, but 9*kInitialRtt + 3*max_ack_delay on migration.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh hm. It's actually more than that, since rttvar is also set to kInitialRtt/2 initially. Ok, let's leave it as you have it then.


This timeout allows for multiple PTOs to expire prior to failing path
validation, so that loss of a single PATH_CHALLENGE or PATH_RESPONSE frame
Expand Down