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
PING/PONG ambiguity #1051
Comments
Even if the PONG'er behaves correctly, arbitrary network delays may cause PONG packets to arrive after they are no longer remembered by the PING'er. Requiring a MUST makes correct evalutation much harder, either by storing PING frames indefinitely or by using some hashing to confirm the validity of the PONG frame. |
@mikkelfj's answer here is the reason that this isn't a MUST. @boisjacques, do you think that there needs to be some better explanation of this? |
Thank you for the clarification, for me it's clear now. However it might help to make the implicit explanation more explicit. |
PING and PONG have been replaced by PING, PATH_CHALLENGE, and PATH_RESPONSE, so hopefully that closes this issue? |
The text is still there, but I agree with @mikkelfj and @martinthomson that the text is correct. The sender MUST do the right thing, but the receiver isn't required to track sufficient information to detect it 100% of the time. |
The definition of PING and PONG frames are ambiguous.
Section 8.9 states:
Section 8.15 states:
The way I see it either the
MAY
in Section 8.15 has to be aMUST
to solve this ambiguity or the part in Section 8.9 has to be changed into something less strict.This would be my preferred option since it gives the PING/PONG frames a little bit more semantic leeway.
The text was updated successfully, but these errors were encountered: