Comments (3)
temp method, guest grpc question :
vim /usr/include/grpcpp/impl/codegen/proto_utils.h +86
// BufferReader must be a subclass of ::protobuf::io::ZeroCopyInputStream.
template <class ProtoBufferReader, class T>
Status GenericDeserialize(ByteBuffer* buffer, grpc::protobuf::Message* msg) {
static_assert(std::is_base_of<protobuf::io::ZeroCopyInputStream,
ProtoBufferReader>::value,
"ProtoBufferReader must be a subclass of "
"::protobuf::io::ZeroCopyInputStream");
if (buffer == nullptr) {
return Status(StatusCode::INTERNAL, "No payload");
}
Status result = g_core_codegen_interface->ok();
{
ProtoBufferReader reader(buffer);
if (!reader.status().ok()) {
return reader.status();
}
::grpc::protobuf::io::CodedInputStream decoder(&reader);
// decoder.SetTotalBytesLimit(INT_MAX, INT_MAX);
decoder.SetTotalBytesLimit(INT_MAX);
if (!msg->ParseFromCodedStream(&decoder)) {
result = Status(StatusCode::INTERNAL, msg->InitializationErrorString());
}
if (!decoder.ConsumedEntireMessage()) {
result = Status(StatusCode::INTERNAL, "Did not read entire message");
}
}
buffer->Clear();
return result;
},
from frr.
this is grpc version qz, but frr configure through configure and didn't show anything for me????
from frr.
I carefully compare protobuf and grpc, find they ocurrs version diff,i did't know how to resolve it. more high version grpc support two param of the SetTotalBytesLimit function, protobuf higher version lack of one param. it is so interesting!
from frr.
Related Issues (20)
- IS-IS - advertise-passive-only , not install passive route when it is configured : HOT 1
- On an OSPF restart the announcing of an existing loopback address stops HOT 9
- zebra: in L3 BGP-EVPN, when the last route of one family (IPv4 or IPv6) is removed, all routes of the other family become unreachable. HOT 1
- zebra: IP address is not assigned if interface is up
- Can't install frr on Ubuntu 22.04-lts
- Version 10 ospfd state directory location inconsistency between no-instance-id and instance-id configurations HOT 1
- Incorrect FRR configuration occurs if we set up import VRF routing after the FRR service is restarted in version 9.0.2/10.0.0/master HOT 9
- ospf6d crashes in large multi-area configuration HOT 3
- Removing cisco NHRP authentication deletes all NHRP config on tunnel interface HOT 2
- segmentation fault with address sanitizer
- mgmtd: `FRR_MANUAL_VTY_START` flag leads to startup race condition HOT 1
- FRR installation issue. Not able to detect Libyang
- FRR 10.0.1 route maps filtering prefixes that should be sent HOT 7
- multiple static rp-address for multicast-pim/frr implementation
- NHRP redirect does not work with configured cisco NHRP Authentication
- ospfd: mpls ldp-sync flag is not cleared if ldp-sync is disabled
- BGP Open Receipt Failed HOT 8
- Is it possible to deploy FRR BGP processes on the same Linux server, establish BGP neighbors with three other servers, and then segment by business application scenarios?
- Prefix-List Configuration Errors in FRR Version 10.0.1 HOT 2
- [BGPd] Routes don't get cleared
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frr.