-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Description
Before filing a bug, please check whether it has been fixed since the latest release: run "hg pull", "hg update default", rebuild, and retry what you did to reproduce the problem. Thanks. What steps will reproduce the problem? Attempt to use the http.Client using the default Transport when hitting a server who's TLS cert hostname does not match the DNS name. What is the expected output? The transport will fail with an error. What do you see instead? Optionally allow such a connection to succeed. (disable the check in http/transport.go:365) Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? Linux Which revision are you using? (hg identify) 99ea0887e633+ tip Please provide any additional information below. Suggest adding an field in either http.Transport or tls.Config like DisableHostnameCheck.