• 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
..
iana Loading commit data...
nettest Loading commit data...
socket Loading commit data...
socks Loading commit data...
sockstest Loading commit data...
timeseries Loading commit data...