mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 06:01:18 +08:00
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));
|