• Mikio Hara's avatar
    internal/socks: add DialWithConn method to Dialer · 75944861
    Mikio Hara authored
    This change adds DialWithConn method for allowing package users to use
    own net.Conn implementations optionally.
    
    Also makes the deprecated Dialer.Dial return a raw transport connection
    instead of a forward proxy connection for preserving the backward
    compatibility on proxy.Dialer.Dial method.
    
    Fixes golang/go#25104.
    
    Change-Id: I4259cd10e299c1e36406545708e9f6888191705a
    Reviewed-on: https://go-review.googlesource.com/110135
    Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    75944861
Name
Last commit
Last update
bpf Loading commit data...
context Loading commit data...
dict Loading commit data...
dns/dnsmessage Loading commit data...
html Loading commit data...
http Loading commit data...
http2 Loading commit data...
icmp Loading commit data...
idna Loading commit data...
internal Loading commit data...
ipv4 Loading commit data...
ipv6 Loading commit data...
lif Loading commit data...
nettest Loading commit data...
netutil Loading commit data...
proxy Loading commit data...
publicsuffix Loading commit data...
route Loading commit data...
trace Loading commit data...
webdav Loading commit data...
websocket Loading commit data...
xsrftoken Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
codereview.cfg Loading commit data...