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
Ben Kaduk's Transport Comment 7 #4614
Comments
As the recipient of a connection ID, you need to store both. The concern was that tracking these could be onerous. That's all. No need to mention the tokens specially here in my view. (The original method devised for handling this, which was to throw out any excess without any signaling, could result in starvation.) Propose no action for this one. |
I don't understand why I, as a recipient of NEW_CONNECTION_ID, need to actually remember the connection ID itself. I am not obligated to ever send packets using that value as a destination connection ID, so what harm comes if I forget it? |
If you never intend to use another NEW_CONNECTION_ID ever, then sure. But we assume that you might. |
@kaduk is there any further need for clarification? |
Remembering is necessary because the peer isn't required to replenish your supply of CIDs. If you forget one without retiring it, the peer might conclude you still have one you could use, you aren't, so clearly you're comfortable continuing to use the CID you've currently got. It is perfectly legitimate to forget the CID and delay retiring it until you want it replaced, however. That seems like a messy implementation design, however. |
Another piece that might be missing here is that stateless reset tokens only apply if you use the associated connection ID. Not sure if that helps at all. Either way, this issue is phrased as a challenge to the design, but I believe the design is OK and this issue does not justify any changes. |
I'm not sure how to read this issue. If this is a clarification question, I might be missing it. Either way, I'm not sure there's any action here besides further explanation here. |
Thanks, that does help me reset my internal model to match reality. I had erroneously expected the reset tokens to be associated with the broader connection and not the specific connection ID (the only thing I can find now to remotely support that misunderstanding is the bit about "associated with the remote address on which the datagram was received", but even that has a matching "datagrams it has recently sent" just a few sentences prior. |
This can be closed now. |
Closing, thanks all! |
@kaduk said
The text was updated successfully, but these errors were encountered: