-
Notifications
You must be signed in to change notification settings - Fork 203
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
Ambiguity in section 5.2.2 of RFC 9000 #4928
Comments
It's not implementation-dependent, but version-dependent. "...if the packet is large enough to initiate a new connection for any supported version" reflects that the server might support 1..N versions of QUIC, each with their own minimum packet size. We don't know what those minima might be; the minimum for this version is 1200 bytes. The trouble is, here the client is speaking a version the server doesn't recognize, so the server can't know what the minimum is in the attempted version. The solution is two matching rules. On the server side, if the packet is large enough to represent a connection attempt for any version the server supports, it needs to treat it as a possible connection attempt and respond with a VN packet. On the client side, we have this guidance:
That is, each QUIC version defines a minimum packet size. A client's first packet will ensure that it satisfies the minimum packet size of all versions it supports, no matter what version it attempts on the first flight. A server responds to connection attempts which are large enough to satisfy any version it supports. That means if the client's first datagram wasn't large enough to trigger a VN packet, there was no version overlap anyway. |
Thank you very much for clarification @MikeBishop . I see that in later sections (especially those related to packet/datagram/frame structure) there are references to relevant sections. Is it possible to add it in parentheses (something like "1200 for this QUIC version" or "see section X.Y")? Should be a small change, but makes jumping around easier? I'll close this as the issue is resolved. Thanks once again! |
A reasonable suggestion ,but the RFC has been published and I don't think this would qualify as an erratum. I'll mark it as a possibility for a future version, though. |
one can also mark errata as "hold for future updates". Or this could be an editorial errata, which then would be displayed inline if verified. |
In section "Server Packet Handling"
What is the threshold for "large enough" and "smaller" packets? Dropping "smaller" packets seem to be a requirement, but how small is "smaller"? If that is implementation dependent, then it should have been mentioned as such.
The text was updated successfully, but these errors were encountered: