You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function client::Client::with_http_proxy constructs a Proxy struct (via hyper::client::proxy::tunnel) with the ssl field which depends on build-time configuration of the TLS library. Rustup compiles hyper with no TLS support, using its own TLS wrapper based on rust-native-tls. In this case, hyper will use the built-in no_ssl::Plaintext wrapper, which will preclude using https URLs with proxy support.
There is currently no way to specify a custom TLS wrapper when initializing a proxied Client.
The text was updated successfully, but these errors were encountered:
inejge
added a commit
to inejge/hyper
that referenced
this issue
Jun 12, 2016
The new struct ProxyConfig lets one specify a custom TLS wrapper for
proxied connections. The function Client::with_proxy_config takes an
instance of that struct and returns an appropriately initialized new
Client. The connector for talking to the proxy is still fixed to
HttpConnector.
Fixeshyperium#824
inejge
added a commit
to inejge/hyper
that referenced
this issue
Jun 12, 2016
The new struct ProxyConfig lets one specify a custom TLS wrapper for
proxied connections. The function Client::with_proxy_config takes an
instance of that struct and returns an appropriately initialized new
Client. The connector for talking to the proxy is still fixed to
HttpConnector.
Fixeshyperium#824
[Motivation: rust-lang/rustup#509]
The function
client::Client::with_http_proxy
constructs aProxy
struct (viahyper::client::proxy::tunnel
) with thessl
field which depends on build-time configuration of the TLS library. Rustup compiles hyper with no TLS support, using its own TLS wrapper based on rust-native-tls. In this case, hyper will use the built-inno_ssl::Plaintext
wrapper, which will preclude usinghttps
URLs with proxy support.There is currently no way to specify a custom TLS wrapper when initializing a proxied
Client
.The text was updated successfully, but these errors were encountered: