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.
The text was updated successfully, but these errors were encountered:
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>