summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-24 19:33:54 +0000
committerGordon Sim <gsim@apache.org>2008-11-24 19:33:54 +0000
commitc3cd4c6c5a5317ae746440a2ef14ad93a6c12684 (patch)
treec5b2acd38ac139e5a76648bb77184ccd6996efb6 /cpp/src
parentb79053b6e8211121166cededc8aa713607d40308 (diff)
downloadqpid-python-c3cd4c6c5a5317ae746440a2ef14ad93a6c12684.tar.gz
QPID-1478: Same fix is required in SslConnector unfortunately.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/SslConnector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SslConnector.cpp b/cpp/src/qpid/client/SslConnector.cpp
index e821ca4f45..6dbdbd003e 100644
--- a/cpp/src/qpid/client/SslConnector.cpp
+++ b/cpp/src/qpid/client/SslConnector.cpp
@@ -283,7 +283,7 @@ void SslConnector::Writer::init(std::string id, sys::ssl::SslIO* a) {
void SslConnector::Writer::handle(framing::AMQFrame& frame) {
Mutex::ScopedLock l(lock);
frames.push_back(frame);
- if (frame.getEof()) {//or if we already have a buffers worth
+ if (frame.getEof() || (bounds && bounds->getCurrentSize() >= maxFrameSize)) {
lastEof = frames.size();
aio->notifyPendingWrite();
}