mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: It's important to ensure that child channel users can observe the writability state of a child channel in order to avoid ballooning data in memory. Up until now we haven't supported writability notifications, but we really should. Modifications: - Added a flow controller to manage writability. - Managed data flow through promises. - Lots of tests. Result: Child channels will provide a much better signal as to whether they are writable.