net/http: ProxyFromEnvironment does not support socks5h #24135
Comments
Seems reasonable. We need to clean up the x/net/socks* packages first, but then somebody can do this. /cc @mikioh |
Change https://golang.org/cl/156518 mentions this issue: |
As a git user, which has recently started using git-lfs, which in turn is written in go, I've stumbled across the same issue. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
What did you see instead?
go get
does not understandsocks5h
inHTTPS_PROXY
, even though it understandssocks5
.For example, to test using the tor proxy:
Other tools that understand
HTTPS_PROXY
also understandsocks5h
(resolve hostname through the proxy, not locally). curl and yum, for example.Related to issue #18508.
The text was updated successfully, but these errors were encountered: