diff options
author | Sean Liao <seankhliao@gmail.com> | 2021-06-08 20:13:23 +0200 |
---|---|---|
committer | Damien Neil <dneil@google.com> | 2021-07-02 21:06:08 +0000 |
commit | 912f0750472dd4f674b69ca1616bfaf377af1805 (patch) | |
tree | a10f5c617fd08e1e4138ad9d56dbb78815824021 /src/net | |
parent | 287c5e8066396e953254d7980a80ec082edf11bd (diff) | |
download | go-912f0750472dd4f674b69ca1616bfaf377af1805.tar.gz go-912f0750472dd4f674b69ca1616bfaf377af1805.zip |
net/http: mention socks5 support in proxy
Change-Id: I55b6d5c77221569eeafea625379affd476a65772
Reviewed-on: https://go-review.googlesource.com/c/go/+/326011
Reviewed-by: Damien Neil <dneil@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/http/transport.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/http/transport.go b/src/net/http/transport.go index 47cb992a50..309194e8e5 100644 --- a/src/net/http/transport.go +++ b/src/net/http/transport.go @@ -427,6 +427,7 @@ func (t *Transport) onceSetNextProtoDefaults() { // // The environment values may be either a complete URL or a // "host[:port]", in which case the "http" scheme is assumed. +// The schemes "http", "https", and "socks5" are supported. // An error is returned if the value is a different form. // // A nil URL and nil error are returned if no proxy is defined in the |