Commit 84d4064
committed
Fixed an issue where supplying an emtpy host to the Client TLS handler would result in an SNI error
Motivation:
Testing on Linux seemed to reveal an `NIOSSLExtraError.invalidSNIHostname` error that was thrown when using `https+unix` URLs, which don't have their hostname filled in. The same NIO failure does not occur on macOS.
Modifications:
Added an extra check to determine if the host is empty before passing it to a `NIOSSLClientHandler`.
Result:
Hopefully one fewer test failures on Linux1 parent bada1bb commit 84d4064
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
0 commit comments