Skip to content

Commit 912f075

Browse files
seankhliaoneild
authored andcommitted
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>
1 parent 287c5e8 commit 912f075

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/net/http/transport.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ func (t *Transport) onceSetNextProtoDefaults() {
427427
//
428428
// The environment values may be either a complete URL or a
429429
// "host[:port]", in which case the "http" scheme is assumed.
430+
// The schemes "http", "https", and "socks5" are supported.
430431
// An error is returned if the value is a different form.
431432
//
432433
// A nil URL and nil error are returned if no proxy is defined in the

0 commit comments

Comments
 (0)