Hysteria server: Fix Unix masquerade socket path (#6705)
https://github.com/XTLS/Xray-core/pull/6705#issuecomment-5489788730
This commit is contained in:
1 parent
cecc88f43c
commit
de2caf3cef
1 file changed
+1
-1
@@ -231,8 +231,8 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti
|
|||||||
transport.TLSClientConfig.InsecureSkipVerify = true
|
transport.TLSClientConfig.InsecureSkipVerify = true
|
||||||
}
|
}
|
||||||
case "", "unix":
|
case "", "unix":
|
||||||
u = &url.URL{Scheme: "http", Host: "localhost"}
|
|
||||||
path := u.Path
|
path := u.Path
|
||||||
|
u = &url.URL{Scheme: "http", Host: "localhost"}
|
||||||
dialer := &net.Dialer{Timeout: 30 * time.Second}
|
dialer := &net.Dialer{Timeout: 30 * time.Second}
|
||||||
transport = transport.Clone()
|
transport = transport.Clone()
|
||||||
transport.Proxy = nil
|
transport.Proxy = nil
|
||||||
|
|||||||
Reference in new issue
Block a user