We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like hyper_rustls::HttpsConnectorBuilder::with_server_name's functionality but in reqwest. (or, but less perferably, the equivalent method for openssl which is described here https://martin.baillie.id/wrote/controlling-client-sni-with-hyper/#hyper).
hyper_rustls::HttpsConnectorBuilder::with_server_name
This is because there is a server I need to talk to where I need to set different HOST headers from the TLS connection's SNI.
HOST
I'm not quite sure I follow how the http connector is set up from config to contribute a PR here...
The text was updated successfully, but these errors were encountered:
Have you tried ClientBuilder::new().resolve(host, socket_addr) where socket_addr is type of std::net::SocketAddr ?
ClientBuilder::new().resolve(host, socket_addr)
socket_addr
std::net::SocketAddr
Sorry, something went wrong.
I don't necessarily have static IPs that I can point to for this use.
Then use a dns resolving library before creating the SocketAddr.
No branches or pull requests
I would like
hyper_rustls::HttpsConnectorBuilder::with_server_name
's functionality but in reqwest. (or, but less perferably, the equivalent method for openssl which is described here https://martin.baillie.id/wrote/controlling-client-sni-with-hyper/#hyper).This is because there is a server I need to talk to where I need to set different
HOST
headers from the TLS connection's SNI.I'm not quite sure I follow how the http connector is set up from config to contribute a PR here...
The text was updated successfully, but these errors were encountered: