fix: proxy-groups filter logic

This commit is contained in:
adlyq
2022-04-22 17:27:55 +08:00
parent b0dd74e74e
commit 8a85c63b08
17 changed files with 63 additions and 3 deletions

View File

@ -14,6 +14,10 @@ type Reject struct {
*Base
}
func (r *Reject) IsProxyGroup() bool {
return false
}
// DialContext implements C.ProxyAdapter
func (r *Reject) DialContext(ctx context.Context, metadata *C.Metadata, opts ...dialer.Option) (C.Conn, error) {
return NewConn(&nopConn{}, r), nil