mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 03:13:32 +02:00
Add WithDisableRetry
This commit is contained in:
parent
ba4aa2896d
commit
dee122c5f3
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ func getGrpcClient(ctx context.Context, dest net.Destination, tlsConfig *tls.Con
|
|||
}),
|
||||
grpc.WithBlock(),
|
||||
grpc.WithReturnConnectionError(),
|
||||
grpc.WithDisableRetry(),
|
||||
)
|
||||
globalDialerMap[dialerConf{dest, sockopt, tlsConfig}] = conn
|
||||
return conn, err
|
||||
|
|
Loading…
Reference in a new issue