Fix xhttp transport

This commit is contained in:
Sergei Maklagin
2025-07-13 21:40:34 +03:00
parent 209b89a4a3
commit deda2cca5e

View File

@@ -87,9 +87,7 @@ func NewClient(ctx context.Context, dialer N.Dialer, serverAddr M.Socksaddr, opt
return xmuxClient.XmuxConn.(DialerClient), xmuxClient
}
getRequestURL2 := getRequestURL
getHTTPClient2 := func() (DialerClient, *XmuxClient) {
return nil, nil
}
getHTTPClient2 := getHTTPClient
if options.Download != nil {
options2 := options.Download
dialer2 := dialer