Hysteria server: Fix Unix masquerade socket path (#6705)

https://github.com/XTLS/Xray-core/pull/6705#issuecomment-5489788730
This commit is contained in:
XXcipherX
2026-09-07 21:01:45 +00:00
committed by GitHub
parent cecc88f43c
commit de2caf3cef
+1 -1
View File
@@ -231,8 +231,8 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti
transport.TLSClientConfig.InsecureSkipVerify = true
}
case "", "unix":
u = &url.URL{Scheme: "http", Host: "localhost"}
path := u.Path
u = &url.URL{Scheme: "http", Host: "localhost"}
dialer := &net.Dialer{Timeout: 30 * time.Second}
transport = transport.Clone()
transport.Proxy = nil