My favorites | Sign in
Logo
go
          
New issue | Search
for
| Advanced search | Search tips
Issue 53: http.Get does not respect $http_proxy
4 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  rsc@golang.org
PackageBug


Sign in to add a comment
 
Reported by GSXygon, Nov 11, 2009
What steps will reproduce the problem?
1. operate behind proxy
2. set http_proxy to appropriate envvar
3. run ./all.bash

What is the expected output? What do you see instead?
Should pass make
On 
  gopack grc _test/http.a _gotest_.6

-- FAIL: http.TestClient
  .... no answer from server
-- FAIL: http.TestRedirect
  ... no answer from server

What is your $GOOS?  $GOARCH?
GOOS=darwin
GOARCH=amd_64

Comment 1 by GSXygon, Nov 11, 2009
Workaround in issue ID 5
add net and http to NOTEST in src/Makefile

Still an issue, should recognize http_proxy
Comment 2 by a...@golang.org, Nov 11, 2009
(No comment was entered for this change.)
Status: Accepted
Labels: Package-Bug
Comment 3 by rsc@golang.org, Nov 11, 2009
(No comment was entered for this change.)
Summary: http.Get does not respect $http_proxy
Comment 4 by akunokuroneko, Nov 11, 2009
I have a patch for this, but it's fugly.  See http://codereview.appspot.com/154042
Comment 5 by christopher.hesse, Nov 12, 2009
GSXygon means src/pkg/Makefile
Comment 6 by rsc@golang.org, Nov 15, 2009
(No comment was entered for this change.)
Owner: r...@golang.org
Comment 7 by rsc@golang.org, Dec 02, 2009
(No comment was entered for this change.)
Labels: -Package-Bug PackageBug
Sign in to add a comment

Hosted by Google Code