mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
reject: add a virtual proxy reject
This commit is contained in:
1 parent
f9a21f5951
commit
2e44d79db8
11 files changed
+54
-12
No files matched your search
+1
-1
@@ -149,7 +149,7 @@ func (s *SS) Serve(c net.Conn) {
|
||||
|
||||
rc, err := dialer.Dial(network, tgt.String())
|
||||
if err != nil {
|
||||
log.F("[ss] failed to connect to target: %v", err)
|
||||
log.F("[ss] %s <-> %s, error in dial: %v", c.RemoteAddr(), tgt, err)
|
||||
return
|
||||
}
|
||||
defer rc.Close()
|
||||
|
||||
Reference in new issue
Block a user