-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tubes/remote: Support Server Name Indication and enable by default (#…
…1644) * tubes/remote: Support Server Name Indication and enable by default This allows customizing the server_name via sni="custom" or sending the name specified in the host parameter via sni=True. We switch to the SSLContext.wrap_socket API because ssl.wrap_socket is deprecated and does not support SNI. Unfortunately, SSLContext.wrap_socket dropped some of the parameters that are supported by ssl.wrap_socket. These parameters have been moved to the SSLContext API and can now be used by passing a custom SSLContext to the ssl_context parameter of `remote`. * update CHANGELOG.md
- Loading branch information
1 parent
556685e
commit b6fc0f3
Showing
2 changed files
with
12 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