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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2254,12 +2254,8 @@ abandons its attempt to validate the path. | |
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 initial timeout (that is, 2*kInitialRtt) as | ||
defined in {{QUIC-RECOVERY}} is RECOMMENDED. That is: | ||
|
||
~~~ | ||
validation_timeout = max(3*PTO, 6*kInitialRtt) | ||
~~~ | ||
current Probe Timeout (PTO) or the PTO for the new path (that is, using | ||
kInitialRtt as defined in {{QUIC-RECOVERY}}) is RECOMMENDED. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But that is wrong. Because the PTO on the new path is There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer the existing text to the updated text. Is there something you're adding that is important?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"initial timeout" seems to be a concept that doesn't exist in 6298, but it seems to be implied something. And it is not defined. So I wanted to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I forgot... The PTO is 3*kInitialRtt only for the handshake. A new path will be after the handshake is complete, so the value will have max_ack_delay added.