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
transport: MUST vs MAY #4332
Comments
Not contradictory. These are not impermissible, they are instead impossible. An endpoint is required (MUST) to reject impermissible frames, but merely allows (MAY) to reject impossible frames. |
How we can distinguish impermissible and impossible? |
What is permitted is in the bullet list in S12.5. Anything else is impermissible. What is impossible is noted in the paragraph after that. If you don't care to distinguish the two (which is entirely reasonable), then treat them all as connection errors. (I think that our code has a mixed stance because we don't care to police based on endpoint role.) |
I'm still puzzled in Section 12.4 and 12.5. Which does "Pkts" in the Table 3 mean, permissible or possible? I guess it's "possible". ACK, CRYPTO, HANDSHAKE_DONE, NEW_TOKEN, PATH_RESPONSE, and RETIRE_CONNECTION_ID are impossible in 0-RTT. But PATH_RESPONSE and RETIRE_CONNECTION_ID are marked with "0". |
Yes, possible. |
@kazu-yamamoto can this be closed? |
@larseggert No. I'm still confused. |
This talks about "impossible". This text should be moved to Sec 12.4. And if this text is correct, the 0 mark of NEW_TOKEN, PATH_RESPONSE, and RETIRE_CONNECTION_ID should be removed. |
Sec 12.4 talks about "possible" and Sec 12.5 talks about "permissible": So, "An endpoint MUST treat receipt of a frame in a packet type that is not permitted as a connection error of type PROTOCOL_VIOLATION" should be moved from Sec 12.4 to Sec 12.5. |
Its been 28 days with no updates or PR, what is the status here? |
The implied proposal was no action. I'm going to close it. There's a narrow window remaining for pull requests still, but we have to draw the line soon. |
Sec 12.4 uses MUST:
Sec 12.5 uses MAY:
Aren't they contradictory?
The text was updated successfully, but these errors were encountered: