]> Cypherpunks repositories - gostls13.git/commit
net/http: use DialWithConn method of socks.Dialer
authorMikio Hara <mikioh.mikioh@gmail.com>
Sat, 28 Apr 2018 03:27:53 +0000 (12:27 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 30 May 2018 21:52:52 +0000 (21:52 +0000)
commit999e230ac17390f8e1dd917db1769c447b10585b
tree726d2763098d9d67a43f9ca10654e6041f6243bc
parent7ea2c8cf1b8052b98532fe95c91fc685758bc249
net/http: use DialWithConn method of socks.Dialer

This change uses the DialWithConn method of socks.Dialer to ensure that
the bundled SOCKS client implementation is agnostic to the behavior and
capabilities of transport connections.

Also updates the bundled golang.org/x/net/internal/socks at git rev
7594486. (golang.org/cl/110135)

Updates #25104.

Change-Id: I87c2e99eeb857f182ea5d8ef569181d4f45f2e5d
Reviewed-on: https://go-review.googlesource.com/110136
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/socks_bundle.go
src/net/http/transport.go