mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-28 05:14:29 +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