]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use ProxyFromEnvironment in -insecure mode also
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 5 Jan 2017 18:10:19 +0000 (18:10 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 5 Jan 2017 18:29:19 +0000 (18:29 +0000)
commit7d977e42797aa51a3867dee5a60031becb9a9d40
tree6ca0e0084c7d5690a52c1e00cab5b2f6853f4bdf
parentb820ef5c33c1b508c7b0df8827b6f13c9480acea
cmd/go: use ProxyFromEnvironment in -insecure mode also

Be consistent on whether the http proxy environment variables are
respected regardless of whether -insecure is used.

Updates #18519

Change-Id: Ib157eaacfd342dd3bfcd03e64da18c98c609cae3
Reviewed-on: https://go-review.googlesource.com/34818
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/http.go