Skip to content

Commit

Permalink
net/http: mention socks5 support in proxy
Browse files Browse the repository at this point in the history
Change-Id: I55b6d5c77221569eeafea625379affd476a65772
Reviewed-on: https://go-review.googlesource.com/c/go/+/326011
Reviewed-by: Damien Neil <[email protected]>
Trust: Dmitri Shuralyov <[email protected]>
  • Loading branch information
seankhliao authored and neild committed Jul 2, 2021
1 parent 287c5e8 commit 912f075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/net/http/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 912f075

Please sign in to comment.