mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-27 05:04:24 +00:00
Motivation: When we added TLS "unwrapping" support (that is, taking a NIOSSLHandler) and removing it from a pipeline without killing it, we never plumbed through the timeout behaviour from close. This can lead to permanently delayed unwraps where the unwrap never completes. Modifications: Take the existing support for timed out shutdown and plumb it through to unwrapping as well. Result: Unwrapping TLS cannot get stuck.