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

Exhausting a supply of connection IDs #1276

Closed
martinthomson opened this issue Apr 9, 2018 · 4 comments
Closed

Exhausting a supply of connection IDs #1276

martinthomson opened this issue Apr 9, 2018 · 4 comments
Assignees

Comments

@martinthomson
Copy link
Member

What - if anything - do we want to say about connection migration in the face of a server that provides too few (including 0) connection IDs? It's a fairly simple trade-off that we can explain. I suspect that different clients will adopt different policies though.

And, should we provide a means to request more?

@martinthomson martinthomson added design An issue that affects the design of the protocol; resolution requires consensus. -transport labels Apr 9, 2018
@kazuho
Copy link
Member

kazuho commented Apr 9, 2018

I do not have an opinion on if the client behavior needs to be documented.

OTOH, I would prefer having a way to request more, considering the fact that the client could run out of spare connection IDs without the server noticing it, when a path probe fails to reach the server.

@ianswett
Copy link
Contributor

ianswett commented Apr 9, 2018

I'd prefer to stick to the "if you run out of connection IDs and you want to use a new one, 0RTT a new connection" answer unless we think there's a really compelling case for the extra complexity.

A server that cares about giving a client enough IDs should be able to do that without too much work, and it can see which ones have been used.

@MikeBishop
Copy link
Contributor

I thought we'd discussed and resolved that in St. Pancras', but I don't see it in the spec. There are two versions of this:

  • Client wants to migrate, but is out of CIDs: 0-RTT is probably the right answer here.
  • Client has migrated, but server is out of CIDs: Clients should be allowed / encouraged to include NCID in probing frames to avoid this. Should servers be prohibited from sending until they get a new CID?

@janaiyengar
Copy link
Contributor

janaiyengar commented Jun 5, 2018

Proposal from editors' meeting: Each endpoint ensures that it sends at least one additional CID if it has at least one spare CID from the peer. Additionally, if an endpoint that needs to migrate doesn't have any new CIDs from the peer, it closes the connection.

@janaiyengar janaiyengar added editor-ready and removed design An issue that affects the design of the protocol; resolution requires consensus. labels Jun 5, 2018
@janaiyengar janaiyengar self-assigned this Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants