mirror of https://github.com/XTLS/Xray-core
Add `WithDisableRetry`
parent
ba4aa2896d
commit
dee122c5f3
|
@ -132,6 +132,7 @@ func getGrpcClient(ctx context.Context, dest net.Destination, tlsConfig *tls.Con
|
||||||
}),
|
}),
|
||||||
grpc.WithBlock(),
|
grpc.WithBlock(),
|
||||||
grpc.WithReturnConnectionError(),
|
grpc.WithReturnConnectionError(),
|
||||||
|
grpc.WithDisableRetry(),
|
||||||
)
|
)
|
||||||
globalDialerMap[dialerConf{dest, sockopt, tlsConfig}] = conn
|
globalDialerMap[dialerConf{dest, sockopt, tlsConfig}] = conn
|
||||||
return conn, err
|
return conn, err
|
||||||
|
|
Loading…
Reference in New Issue