-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topdown: Add http.send support for setting the TLS server name
If the caller sets the Host header, then we can reasonably impute that they wanted to use that at the TLS layer as well. To handle test cases where the caller needs to explicitly set the TLS server name, add a `tls_server_name` parameter that overrides both the `Host` header and the Go default. Signed-off-by: James Peach <[email protected]>
- Loading branch information
1 parent
5234aae
commit 29d8fbb
Showing
3 changed files
with
79 additions
and
22 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