Skip to content
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

recommend registering client-issued CIDs with the proxy first #84

Open
marten-seemann opened this issue Jul 3, 2023 · 2 comments
Open

Comments

@marten-seemann
Copy link

When the client wishes to issue a new CID for the target, it might be advantageous to register it with the proxy first (and wait for acknowledgement), before actually sending it to the target. That way, if the proxy rejects the CID, there’s no risk that the target already started using that CID, which would lead to the loss of all packets sent using that CID, until that CID is retired (which takes at least 1 RTT).

@marten-seemann
Copy link
Author

Looks like I opened this issue too early (reading through the document from top to bottom).

This is already recommended in section 4.2. However, in section 4 it says:

The client sends a REGISTER_CLIENT_CID capsule whenever it advertises a new Client Connection ID to the target

This sentence could probably be reworded by replacing “whenever” with “before”.

@tfpauly
Copy link
Collaborator

tfpauly commented Jul 3, 2023

Yes, it would be useful to clarify the ordering — saying "before" is good there, or at least in the same packet to the proxy so the proxy is able to read the content first before passing along a packet to the next hop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants