mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: If ChannelHandler removal worked correctly, it was often either by accident or by intricate knowledge about the implementation of the ChannelHandler that is to be removed. Especially when it comes to re-entrancy it mostly didn't work correctly. Modifications: - introduce a `RemovableChannelHandler` API - raise allocation limit per HTTP connection by 1 (https://bugs.swift.org/browse/SR-9905) Result: Make things work by contruction rather than accident