mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-15 22:10:26 +00:00
Hysteria server: Fix Unix masquerade socket path (#6705)
https://github.com/XTLS/Xray-core/pull/6705#issuecomment-5489788730
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user