change to socks.Conn

master
fangdingjun 8 years ago
parent fb73158f76
commit f41c629080

@ -255,7 +255,7 @@ func (cc *Client) handleRemoteForward(conn net.Conn, local string) {
} }
func (cc *Client) handleDynamicForward(conn net.Conn) { func (cc *Client) handleDynamicForward(conn net.Conn) {
s := socks.SocksConn{ClientConn: conn, Dial: cc.client.Dial} s := socks.Conn{Conn: conn, Dial: cc.client.Dial}
s.Serve() s.Serve()
} }

Loading…
Cancel
Save