quicwg / multipath

In-progress version of draft-ietf-quic-multipath
Other
56 stars 21 forks source link

Do we need to allow transport parameter "initial_max_path_id" to be set to 0? #381

Closed Yanmei-Liu closed 5 months ago

Yanmei-Liu commented 5 months ago

Record issue discussed in PR #376 : Do we need to allow transport parameter "initial_max_path_id" to be set to 0?

In the current draft:

An endpoint that receives a value less than 1 MUST close the connection with an error of type TRANSPORT_PARAMETER_ERROR.

There're 3 scenes when handshaking:

If people have such scenarios which need to allow transport parameter "initial_max_path_id" to be set to 0, please comment in this issue.

marten-seemann commented 5 months ago

This would be consistent with how flow control works for streams data and for the number of streams. You can start with 0, and increase the limit later on by sending the respective flow control frame.

huitema commented 5 months ago

I get the consistency with streams, but we already have 1 path set by the handshake. So I think we should either insist on at least 1, or define that max path ID is less than or equal to max paths -- currently it is defined as strictly less than.

huitema commented 5 months ago

I think this would go with the renaming of the parameter as max_path_id.

mirjak commented 5 months ago

Yes, with max_initial_path_id 0 would many only one path with path id 0 is allowed. I think that is fine and we don't need an error case here. Makes things simpler.

mirjak commented 5 months ago

I'm closing this issues as this is now addressed in PR #376