mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
Motivation: It was too easy to forget passing serverHostname to NIOSSLClientHandler which made certificate validation fail. Modification: Require users to pass a server hostname or `nil` explictly. Result: - harder to use NIOSSLClientHandler wrongly - fixes #80