commit | 75944861c7512f64725d687546cfbc757626151f | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Sat Apr 28 12:21:32 2018 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Wed May 30 17:52:07 2018 +0000 |
tree | 57e194b12a24e9c97050892be2516b1d157f1bfb | |
parent | 4ef37e81ae7d4d477bda45ba9506a70004e1317b [diff] |
internal/socks: add DialWithConn method to Dialer 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: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.