When Connection::open_path fails with MaxPathIdReached the application can not always do something. Sometimes all that is needed is waiting until the network delivers the next MAX_PATH_ID frame. However when this finally is incremented the application has no way of knowing about this.
A new PathEvent::MaxPathIdIncreased could help with this. But it could also be something else like a watcher on the max path ID that can be opened. Both have tradeoffs.
Somewhat related to #754.
When
Connection::open_pathfails withMaxPathIdReachedthe application can not always do something. Sometimes all that is needed is waiting until the network delivers the next MAX_PATH_ID frame. However when this finally is incremented the application has no way of knowing about this.A new
PathEvent::MaxPathIdIncreasedcould help with this. But it could also be something else like a watcher on the max path ID that can be opened. Both have tradeoffs.Somewhat related to #754.