mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: When an asynchronous connect failed we would crash because we didn't correctly close the connection to start tearing everything down. That correctly made the `SocketChannelLifecycleManager` trip. This was filed as #302. Modifications: Correctly deregister and close the connection if an async connect fails. Result: Fewer crashes, fixes #302.