quicwg / multipath

In-progress version of draft-ietf-quic-multipath
Other
49 stars 17 forks source link

Clarify how new CIDs are allocated #338

Closed mirjak closed 3 weeks ago

mirjak commented 1 month ago

The process involves:

It should be clear that at any given time there will be paths for which no connection ID is advertised yet, because the peer did not yet have the time or resource to advertise them. This is not an error.

huitema commented 1 month ago

We should perhaps make recommendations on the CID allocation strategy. Suppose for example that both endpoints advertise MAX_PATH=3, but one only provides CID for path_id=1, and the other for path_id=2. Looks obvious, but there would be no way to open either path_id=1 or path_id=2. or is there?

mirjak commented 1 month ago

Maybe we should specify that path IDs has to be used in-order? This is actually issue #318

yfmascgy commented 1 month ago

I feel the allocation strategy is more than specifying path IDs has to be used in-order. There are definitely scenarios where we would like to initiate multiple new paths concurrently but find no available CIDs for a high order path ID to use. See #370

mirjak commented 1 month ago

True. Assuming that endpoint usually announce a small max paths value, we could say that they should provide one CID for all paths...?

mirjak commented 1 month ago

In issue #298 @huitema originally proposed to require sending of MP_NEW_CONNECTION_ID up to the min of client and server MAX_PATHS.

LPardue commented 1 month ago

Discussed during the interim: recommendations seem useful but that is the most we can do, @qdeconinck to write a PR