-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client): change ProxyConfig to allow HTTPS proxies
Previously, you could only connect to an HTTP proxy (you could still use that proxy to connect to any HTTP or HTTPS URL), but if the proxy itself was protected by TLS, you could not connect to it. This change to ProxyConfig now allows specifying any kind of `NetworkConnector` to use when connecting to a proxy. BREAKING CHANGE: Usage of `with_proxy_config` will need to change to provide a network connector. For the same functionality, a `hyper::net::HttpConnector` can be easily created and passed.
- Loading branch information
1 parent
0701d89
commit 14a4f1c
Showing
3 changed files
with
109 additions
and
46 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
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