From: Sean Liao Date: Tue, 8 Jun 2021 18:13:23 +0000 (+0200) Subject: net/http: mention socks5 support in proxy X-Git-Tag: go1.17rc1~13 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=912f0750472dd4f674b69ca1616bfaf377af1805;p=gostls13.git net/http: mention socks5 support in proxy Change-Id: I55b6d5c77221569eeafea625379affd476a65772 Reviewed-on: https://go-review.googlesource.com/c/go/+/326011 Reviewed-by: Damien Neil Trust: Dmitri Shuralyov --- 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