-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Rotation of Connection IDs #1880
Comments
I think we'd be open to that, but it's unclear to me how this would affect the API. Do you want to submit a PR in that direction? Should we hold the release for that so that we can change the API some more? |
I think the first part can be implemented without API change.
The former should be cleaner and requires no breaking change, the latter seems reasonable that the implementation should know an expiration time of a cid and can even perform cid validation when parsing but could be over complicated.
Yes, I definitely want to submit PRs for it but I don't have a schedule for it yet. And unless we decided to add |
I suppose we could add |
This already exists: See also the queue machinery in |
Ahh, no idea why I missed it, it should be enough for rotating Connection ID. |
Seeing some changes to
ConnectionIdGenerator
are going to happen in #1879 , I wish the ability to rotate Connection IDs could be taken into consideration.The QUIC-LB draft proposed a CID Format that allows the load balancer to find the correct server to which a packet should be forwarded to. To avoid ossification of CID format configuration in a deployment, the first byte in the CID Format contains a few bits for Config Rotation.
To properly implement config rotation, the server must be able to
maintains the expiration time of each Connection ID in a connection(it may still be supported that a Connection ID can never be expired); and
request the peer to retire Connection IDs that has been expired, this can be done by sending a
NEW_CONNECTION_ID
frame that contains aRetire Prior To
field.I'm willing to contribute to it and look forward to any discussion.
The text was updated successfully, but these errors were encountered: