ss: fixed #17, bypass rule has no effect in the following situation: 1. has global forwarder; 2. has bypass rules; 3. use ss proxy server;

This commit is contained in:
nadoo 2017-12-20 15:13:45 +08:00
parent a045e54504
commit 47022d6d27

2
ss.go
View File

@ -71,7 +71,7 @@ func (s *SS) Serve(c net.Conn) {
return return
} }
dialer := s.sDialer.NextDialer("") dialer := s.sDialer.NextDialer(tgt.String())
// udp over tcp? // udp over tcp?
uot := UoT(tgt[0]) uot := UoT(tgt[0])