From cb4d5772e9a7a9228577df83027e45ec7de022ea Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 5 Nov 2014 15:33:01 +0100 Subject: Fixed ICE-5607: relaxed Ice.MessageSizeMax --- cpp/src/Ice/TcpTransceiver.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpp/src/Ice/TcpTransceiver.cpp') diff --git a/cpp/src/Ice/TcpTransceiver.cpp b/cpp/src/Ice/TcpTransceiver.cpp index 9f7a04c9496..61ef4589137 100644 --- a/cpp/src/Ice/TcpTransceiver.cpp +++ b/cpp/src/Ice/TcpTransceiver.cpp @@ -111,12 +111,8 @@ IceInternal::TcpTransceiver::getInfo() const } void -IceInternal::TcpTransceiver::checkSendSize(const Buffer& buf, size_t messageSizeMax) +IceInternal::TcpTransceiver::checkSendSize(const Buffer&) { - if(buf.b.size() > messageSizeMax) - { - Ex::throwMemoryLimitException(__FILE__, __LINE__, buf.b.size(), messageSizeMax); - } } IceInternal::TcpTransceiver::TcpTransceiver(const ProtocolInstancePtr& instance, const StreamSocketPtr& stream) : -- cgit v1.2.3