Description
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.