mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-28 05:14:25 +00:00
Motivation: Our dead stream cache should not cause us to crash when we can have more active streams than the entire size of the cache. These things are at least nominally unrelated. Modifications: Rewrote the code to avoid asserting that we'll always be able to shrink down to the dead cache size. Result: Fewer crashes