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

What units of time you are using #4283

Closed
larseggert opened this issue Oct 28, 2020 · 6 comments
Closed

What units of time you are using #4283

larseggert opened this issue Oct 28, 2020 · 6 comments
Labels
-transport ietf-lc An issue that was raised during IETF Last Call.

Comments

@larseggert
Copy link
Member

validation_timeout = max(3*PTO, 6*kInitialRtt)

A quick look in the reference did not show what units of time you are using
in the protocol - maybe I missed it?

@larseggert larseggert added -transport ietf-lc An issue that was raised during IETF Last Call. labels Oct 28, 2020
@larseggert larseggert added this to the transport-genart milestone Oct 28, 2020
@marten-seemann
Copy link
Contributor

kInitialRtt is set to 333ms. Not sure why a max between two values needs to define the unit in the first place though.

@larseggert
Copy link
Member Author

kInitialRtt is not defined in -transport, and Stewart was (probably) only reviewing the document in isolation.

@MikeBishop
Copy link
Contributor

@marten-seemann, a max needs to ensure both values use the same units. But provided that they do, I agree.

@kazuho
Copy link
Member

kazuho commented Oct 28, 2020

Maybe it's easier to say that these are all physical quantities, or numbers with units. In the specification, we use seconds, milliseconds, microseconds. That's fine, because we know how to align the units when we make calculations (e.g., max).

@martinthomson
Copy link
Member

PR #4263 proposes removing the text in question. Of course, it doesn't matter what time units are in use in this case. I'm fairly confident that where units matter (i.e., we base the value on a constant), the units are explicit. Here, the units are part of the definition of the variables.

@martinthomson martinthomson added the proposal-ready An issue which has a proposal that is believed to be ready for a consensus call. label Nov 5, 2020
@LPardue
Copy link
Member

LPardue commented Dec 8, 2020

As Martin points out, the offending text was removed. Not seeing anything to be done here , so I'm closing the issue.

@LPardue LPardue closed this as completed Dec 8, 2020
@LPardue LPardue removed the proposal-ready An issue which has a proposal that is believed to be ready for a consensus call. label Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-transport ietf-lc An issue that was raised during IETF Last Call.
Projects
None yet
Development

No branches or pull requests

6 participants