-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set the hostname so that the server can use it to select the correct certificate (SNI). 1. add host parameter to TLSTransport function and set hostname SSLContext parameter only if it was not provided as an IPV4 or IPV6 address 2. forward host from transport function call to TLSTransport.
- Loading branch information
Guillaume Cornu
committed
Aug 30, 2024
1 parent
4fa531d
commit dda35f6
Showing
2 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters