Revert: "fix: proxy-groups filter logic"

This reverts commit 8a85c63b08.
This commit is contained in:
adlyq
2022-04-22 18:55:28 +08:00
parent 8a85c63b08
commit de4341c8cd
17 changed files with 2 additions and 65 deletions

View File

@ -22,6 +22,7 @@ type Socks5 struct {
skipCertVerify bool
tlsConfig *tls.Config
}
type Socks5Option struct {
BasicOption
Name string `proxy:"name"`
@ -34,10 +35,6 @@ type Socks5Option struct {
SkipCertVerify bool `proxy:"skip-cert-verify,omitempty"`
}
func (ss *Socks5) IsProxyGroup() bool {
return false
}
// StreamConn implements C.ProxyAdapter
func (ss *Socks5) StreamConn(c net.Conn, metadata *C.Metadata) (net.Conn, error) {
if ss.tls {