Closed mirjak closed 3 weeks 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?
Maybe we should specify that path IDs has to be used in-order? This is actually issue #318
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
True. Assuming that endpoint usually announce a small max paths value, we could say that they should provide one CID for all paths...?
In issue #298 @huitema originally proposed to require sending of MP_NEW_CONNECTION_ID up to the min of client and server MAX_PATHS.
Discussed during the interim: recommendations seem useful but that is the most we can do, @qdeconinck to write a PR
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.