mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: When adding in the SPI methods for exposing async sequences of HTTP/2 streams we moved the stream initialization to a subtly different location so that it was easier to exfiltrate the outputs of those initialization functions (such as protocol negotiation outputs). In some cases this broke ordering expectations. Modifications: Yield the (optionally wrapped) channels as initializer outputs to the async stream Result: Changes only exist within SPI. Async inbound stream channel initialization now matches previous behavior.