mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-20 01:00:56 +00:00
chore: return context error
This commit is contained in:
parent
bcef894237
commit
6afa624bf3
1 changed files with 4 additions and 0 deletions
|
@ -331,6 +331,10 @@ func concurrentDialContext(ctx context.Context, network string, ips []netip.Addr
|
|||
return nil, fallback.error
|
||||
}
|
||||
|
||||
if ctx.Err() != nil {
|
||||
return nil, ctx.Err()
|
||||
}
|
||||
|
||||
return nil, fmt.Errorf("all ips %v tcp shake hands failed", ips)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue