mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-27 05:04:23 +00:00
## Motivation Currently, the multiplexer's inbound streams stream is finished only when the channel becomes inactive. There are some scenarios in which the channel may be closed before it has a chance to become active, and the stream will never be finished. This can cause any users iterating over the stream to hang. ## Modifications This PR finishes the inbound streams stream when a connection error is fired, and when the handler is removed. ## Result Fewer bugs.