diff options
Diffstat (limited to 'cpp/src/IceSSL/TransceiverI.cpp')
-rw-r--r-- | cpp/src/IceSSL/TransceiverI.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/TransceiverI.cpp b/cpp/src/IceSSL/TransceiverI.cpp index 8ee4211da2b..eaf89fafef6 100644 --- a/cpp/src/IceSSL/TransceiverI.cpp +++ b/cpp/src/IceSSL/TransceiverI.cpp @@ -518,6 +518,15 @@ IceSSL::TransceiverI::initialize(int timeout) } } +void +IceSSL::TransceiverI::checkSendSize(const IceInternal::Buffer& buf, size_t messageSizeMax) +{ + if(buf.b.size() > messageSizeMax) + { + throw MemoryLimitException(__FILE__, __LINE__); + } +} + ConnectionInfo IceSSL::TransceiverI::getConnectionInfo() const { |