mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
socks5: support protocol chain with unix socket(#291)
This commit is contained in:
1 parent
cf1a4e3817
commit
720f12aa0a
6 files changed
+25
-20
No files matched your search
@@ -27,7 +27,7 @@ func (s *Unix) Addr() string {
|
||||
// Dial connects to the address addr on the network net via the proxy.
|
||||
// NOTE: must be the first dialer in a chain
|
||||
func (s *Unix) Dial(network, addr string) (net.Conn, error) {
|
||||
return net.Dial("unix", s.addr)
|
||||
return s.dialer.Dial("unix", s.addr)
|
||||
}
|
||||
|
||||
// DialUDP connects to the given address via the proxy.
|
||||
|
||||
Reference in new issue
Block a user