early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/arcus/0001-fix-protobuf-deprecated.patch
vendored
Executable file
13
externals/vcpkg/ports/arcus/0001-fix-protobuf-deprecated.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
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));
|
||||
Reference in New Issue
Block a user