Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: have DefaultTransport support all_proxy (SOCKS5) by default #31813

bradfitz opened this issue May 2, 2019 · 2 comments


Copy link

commented May 2, 2019

Now that is in, we have good context support for doing SOCKS5 dials in x/net/proxy.

We should use it from net/http.DefaultTransport so the $ALL_PROXY (and $all_proxy) environment variable lets users configure SOCKS5.


This comment has been minimized.

Copy link

commented May 2, 2019

Change mentions this issue: proxy: add ProxyFromEnvironmentUsing

gopherbot pushed a commit to golang/net that referenced this issue May 3, 2019
proxy: add ProxyFromEnvironmentUsing
Updates golang/go#31813

Change-Id: Ic05fcdb5881c9e01967697542228224611b7a73f
Run-TryBot: Brad Fitzpatrick <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Jacob Blain Christen <>
Reviewed-by: Brad Fitzpatrick <>

This comment has been minimized.

Copy link

commented May 20, 2019

@bradfitz, do you intend to implement this yourself for 1.14? (What milestone should it be set at?)

@bcmills bcmills added this to the Unplanned milestone May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.