diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-01-31 05:20:18 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-01-31 05:20:18 +0000 |
commit | aee8b7cff90d42cd1151ec9911e490b0de553dd5 (patch) | |
tree | 75b49c8837bb98683d9451c5c9edc4427e22924c /cpp/src/IceSSL/TransceiverI.cpp | |
parent | updated README. (diff) | |
download | ice-aee8b7cff90d42cd1151ec9911e490b0de553dd5.tar.bz2 ice-aee8b7cff90d42cd1151ec9911e490b0de553dd5.tar.xz ice-aee8b7cff90d42cd1151ec9911e490b0de553dd5.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1690,
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1711
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 { |