summaryrefslogtreecommitdiff
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
commit7230182f15ef5cc865618764fe99b4c4dc984075 (patch)
tree636e0f6b82dcafb6f3f34c06ebb5f5585c4e45de
parent0f5373ec7f640004b4d1eeb46c1a6c9d34787358 (diff)
downloadqpid-python-7230182f15ef5cc865618764fe99b4c4dc984075.tar.gz
QPID-1478: Same fix is required in SslConnector unfortunately.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@720271 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/qpid/client/SslConnector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/SslConnector.cpp b/qpid/cpp/src/qpid/client/SslConnector.cpp
index e821ca4f45..6dbdbd003e 100644
--- a/qpid/cpp/src/qpid/client/SslConnector.cpp
+++ b/qpid/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();
}