From: Bryan C. Mills Date: Thu, 11 Mar 2021 20:04:16 +0000 (-0500) Subject: net/http: revert change to generated file from CL 296152 X-Git-Tag: go1.17beta1~1171 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b3896fc331;p=gostls13.git net/http: revert change to generated file from CL 296152 This file is generated, so the fix needs to happen upstream. The file can then be regenerated using 'go generate net/http'. Updates #44143 Change-Id: I13a1e7677470ba84a06976e5bbe24f4ce1e7cfb2 Reviewed-on: https://go-review.googlesource.com/c/go/+/301069 Trust: Bryan C. Mills Run-TryBot: Bryan C. Mills Reviewed-by: David Chase TryBot-Result: Go Bot --- diff --git a/src/net/http/socks_bundle.go b/src/net/http/socks_bundle.go index fc22391039..e446669589 100644 --- a/src/net/http/socks_bundle.go +++ b/src/net/http/socks_bundle.go @@ -362,8 +362,6 @@ func (d *socksDialer) DialWithConn(ctx context.Context, c net.Conn, network, add // Unlike DialContext, it returns a raw transport connection instead // of a forward proxy connection. // -// Dial uses context.Background internally. -// // Deprecated: Use DialContext or DialWithConn instead. func (d *socksDialer) Dial(network, address string) (net.Conn, error) { if err := d.validateTarget(network, address); err != nil {