mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 15:58:59 +08:00
b29f8ef37e
* [protobuf] upgrade to latest release (v3.18.0) This requires patching OpenCV as it uses a function removed in the latest version of protobuf (FWIW, upstream OpenCV has a similar patch). * The arcus port also needs a patch * The caffe2 port also needs a patch * The brpc port also needs a patch
14 lines
627 B
Diff
14 lines
627 B
Diff
diff --git a/src/Socket_p.h b/src/Socket_p.h
|
|
index 9c3c084..9ccabda 100644
|
|
--- a/src/Socket_p.h
|
|
+++ b/src/Socket_p.h
|
|
@@ -548,7 +548,7 @@ namespace Arcus
|
|
|
|
google::protobuf::io::ArrayInputStream array(wire_message->data, wire_message->size);
|
|
google::protobuf::io::CodedInputStream stream(&array);
|
|
- stream.SetTotalBytesLimit(message_size_maximum, message_size_warning);
|
|
+ stream.SetTotalBytesLimit(message_size_maximum);
|
|
if(!message->ParseFromCodedStream(&stream))
|
|
{
|
|
error(ErrorCode::ParseFailedError, "Failed to parse message:" + std::string(wire_message->data));
|