mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
Motivation: To address #253 Modifications: When channelInactive is called during a handshake failure it currently defaults to uncleanShutdown. This bugfix and test is to report handshakeFailed instead of uncleanShutdown. Added the handshaking case to the channelInactive function to report handshakeFailed. Added a new test case, testChannelInactiveDuringHandshake, in UnwrappingTests to test this fix. Result: Fix of #253