mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-05 19:38:32 +00:00
fix: Unhandled dns resolve failure error
This commit is contained in:
1 parent
dfeb901417
commit
32fc990c68
1 file changed
+4
@@ -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