mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 08:47:09 +00:00
chore: hy2 listener fellow hysteria2's code skip verify in https masquerade
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user