mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
fix: Unhandled dns resolve failure error
This commit is contained in:
@@ -215,6 +215,10 @@ func concurrentDualStackDialContext(ctx context.Context, network, address string
|
||||
ips, err = resolver.ResolveAllIPProxyServerHost(host)
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return concurrentDialContext(ctx, network, ips, port, opt)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user