mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 20:52:15 +08:00
fix: Unhandled dns resolve failure error
This commit is contained in:
parent
dfeb901417
commit
32fc990c68
@ -215,6 +215,10 @@ func concurrentDualStackDialContext(ctx context.Context, network, address string
|
|||||||
ips, err = resolver.ResolveAllIPProxyServerHost(host)
|
ips, err = resolver.ResolveAllIPProxyServerHost(host)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
|
||||||
return concurrentDialContext(ctx, network, ips, port, opt)
|
return concurrentDialContext(ctx, network, ips, port, opt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user