Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: have DefaultTransport support all_proxy (SOCKS5) by default #31813
Now that https://go-review.googlesource.com/c/net/+/168921 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.
Updates golang/go#31813 Change-Id: Ic05fcdb5881c9e01967697542228224611b7a73f Reviewed-on: https://go-review.googlesource.com/c/net/+/175100 Run-TryBot: Brad Fitzpatrick <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Jacob Blain Christen <firstname.lastname@example.org> Reviewed-by: Brad Fitzpatrick <email@example.com>