From de2caf3cef7a350453ba9079543f09660b0d837c Mon Sep 17 00:00:00 2001 From: XXcipherX <56079532+XXcipherX@users.noreply.github.com> Date: Tue, 8 Sep 2026 00:01:45 +0300 Subject: [PATCH] Hysteria server: Fix Unix masquerade socket path (#6705) https://github.com/XTLS/Xray-core/pull/6705#issuecomment-5489788730 --- transport/internet/hysteria/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/internet/hysteria/hub.go b/transport/internet/hysteria/hub.go index c0cc641ba..4a41aa8f4 100644 --- a/transport/internet/hysteria/hub.go +++ b/transport/internet/hysteria/hub.go @@ -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