Open frochet opened 2 months ago
Streams are monotonic increasing integers. This property can be exploited for the current solution to support a window of 2^30 streams opened in any time, up to the maximum value of 2^62. 2^30 should be well over any use case.
Another solution could be to write the stream ID within the Short header with a similar encoding/decoding than packet number.
Any preference?
Marten Seemann from the mailing list:
We should probably clarify that the limitation applies to the max number of opened streams at any time. The upper 2^62 stays the same.
We may as well iterate on this. I am not particularly happy with the current solution.