-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
let https = HttpsConnectorBuilder::new()
.with_native_roots()
.https_only()
.with_server_name("override_server_name")
.enable_http1()
.build();
// change it to
let https = HttpsConnectorBuilder::new()
.with_native_roots()
.https_only()
.with_server_name(|request| {
// Compute server name
return "override_server_name";
})
.enable_http1()
.build();This allows different server names to be injected for different ip requests
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels