aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/web/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/internal/web/http.go')
-rw-r--r--src/cmd/go/internal/web/http.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/go/internal/web/http.go b/src/cmd/go/internal/web/http.go
index 72fa2b2ca6..f177278eba 100644
--- a/src/cmd/go/internal/web/http.go
+++ b/src/cmd/go/internal/web/http.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build !cmd_go_bootstrap
// +build !cmd_go_bootstrap
// This code is compiled into the real 'go' binary, but it is not
@@ -27,7 +28,7 @@ import (
"cmd/internal/browser"
)
-// impatientInsecureHTTPClient is used in -insecure mode,
+// impatientInsecureHTTPClient is used with GOINSECURE,
// when we're connecting to https servers that might not be there
// or might be using self-signed certificates.
var impatientInsecureHTTPClient = &http.Client{