Allow override for TLS's SNI server_name
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...
Have you tried ClientBuilder::new().resolve(host, socket_addr) where socket_addr is type of std::net::SocketAddr ?
I don't necessarily have static IPs that I can point to for this use.
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.