From 46ee1649c0009cfe36b67220dac7c08e12782a9e Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Sun, 25 Jan 2026 21:49:02 +0800 Subject: [PATCH] chore: hy2 listener fellow hysteria2's code skip verify in https masquerade --- listener/sing_hysteria2/server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/listener/sing_hysteria2/server.go b/listener/sing_hysteria2/server.go index 3d52e4d2..90295afd 100644 --- a/listener/sing_hysteria2/server.go +++ b/listener/sing_hysteria2/server.go @@ -126,6 +126,10 @@ func New(config LC.Hysteria2Server, tunnel C.Tunnel, additions ...inbound.Additi w.WriteHeader(http.StatusBadGateway) }, Transport: &http.Transport{ + // fellow hysteria2's code skip verify + TLSClientConfig: &tls.Config{ + InsecureSkipVerify: true, + }, // from http.DefaultTransport ForceAttemptHTTP2: true, MaxIdleConns: 100,