mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-28 05:14:25 +00:00
Motivation: Long-lived connections that have many inactive streams would cause crashes. Crashes are, in my professional opinion, less than ideal when they occur under expected usage cases. Modifications: - Fixed an inverted boolean check that would discard only *active* streams. - Made the cached stream count configurable, removing a TODO. - Added tests. Result: Fewer crashes, better software.