From e271a89650c329d2342abc146932ba383232e4eb Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:04:43 -0300 Subject: [PATCH] chore: removing shadowsocks and changing utls index --- http_proxy.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/http_proxy.go b/http_proxy.go index b09b165f..d484642e 100644 --- a/http_proxy.go +++ b/http_proxy.go @@ -1033,9 +1033,7 @@ func (p *Proxy) listenWATER(addr string) (net.Listener, error) { log.Debugf("Listening for water at %v", waterListener.Addr()) return waterListener, nil - case 1: - return p.listenShadowsocks(addr) - case 2: + case 97: cert, err := utls.X509KeyPair([]byte(p.CertFile), []byte(p.KeyFile)) if err != nil { return nil, log.Errorf("failed to load cert: %w", err)