aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
author胡玮文 <huweiwen.hww@alibaba-inc.com>2024-03-08 13:42:49 +0800
committerGopher Robot <gobot@golang.org>2024-03-11 18:07:37 +0000
commitc8e4f8c7756d67e27d2cfe4383cb90cf9f97d5a3 (patch)
treea0174b0fdb5e34178eb03bd6d60b12aa0bf28e38 /api
parentec4baaca390ac884c1f55fa1171d2b1eac571b0a (diff)
downloadgo-c8e4f8c7756d67e27d2cfe4383cb90cf9f97d5a3.tar.gz
go-c8e4f8c7756d67e27d2cfe4383cb90cf9f97d5a3.zip
net/http: support socks5h proxy schema
Extend the net/http Transport to recognize the 'socks5h' schema as an alias for 'socks5'. Traditionally, the 'socks5h' schema indicates that the hostname should be resolved by the proxy server, which is behavior already implemented in Go for 'socks5'. Fixes #24135 Change-Id: I0a6a92bbd282a3200dc4dc7b47a9b0628f931783 Reviewed-on: https://go-review.googlesource.com/c/go/+/569977 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions