quicwg / base-drafts Public
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
active_connection_id_limit is unknown for 0-RTT #3423
Comments
|
The alternative would be to add it to the list of things to remember, but yes, we should fix it. |
|
@MikeBishop That would mean that the server needs to remember / save in the session ticket, and can’t reduce in the resumed connection. My understand was that we only remember those values that are absolutely necessary to make 0-RTT make sense, i.e. flow control and stream number limits. |
|
Discussed in ZRH. @marten-seemann to write up a PR for his preferred option. |
Simple. It appears as though I missed this when @marten-seeman added this transport parameter. We shouldn't make more exceptions for 0-RTT. Closes #3423.
|
Post-discussion and having re-read, I believe the current text covers this for NEW_CONNECTION_ID:
So the client can send no more than one NEW_CONNECTION_ID frame in 0-RTT, or it's a protocol violation. If it sends exactly one, that never exceeds the server's limit, provided that it has a non-zero-length Source Connection ID. It also covers it for RETIRE_CONNECTION_ID:
|
|
Over supper, @marten-seemann wanted to know why a client would include a new connection ID in its 0-RTT packets. The answer is that the client's handshake CID has no associated SRT. If the client wants the ability to send stateless resets, it might very well put NCID(N=1, RPT=1) in its 0-RTT flight. The server will retire the handshake connection ID in 0.5-RTT and begin using the CID with an associated token. |
|
Discussed in ZRH. Proposed resolution is written up in #3425. |
|
The meeting notes record that there was a 12 to 1 vote for saving the value instead of using the default of 2. I believe I was convinced by the argument that a server could just always use the default and never change it, so it doesn't really matter for servers. |
This value is not remembered for 0-RTT. A client therefore cannot send NCID frames in 0-RTT without risking to violate the server’s limit.
The text was updated successfully, but these errors were encountered: