diff options
| author | Alan Conway <aconway@apache.org> | 2008-08-05 19:29:09 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-08-05 19:29:09 +0000 |
| commit | b5f8cf1bd9b5652e2691d6bc5b9b1c3228f53d68 (patch) | |
| tree | 3c74eaf22c916844bea3b130a8ee6bd2635261d7 /cpp/src/qpid/client | |
| parent | bd47fd629bb2356df93af70b174a6a070f3a58cc (diff) | |
| download | qpid-python-b5f8cf1bd9b5652e2691d6bc5b9b1c3228f53d68.tar.gz | |
Fix Cluster::send encode race.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682885 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
| -rw-r--r-- | cpp/src/qpid/client/Connector.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index 524155b929..f4f414bc63 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/cpp/src/qpid/client/Connector.cpp @@ -155,7 +155,6 @@ void Connector::Writer::handle(framing::AMQFrame& frame) { frames.push_back(frame); if (frame.getEof()) {//or if we already have a buffers worth lastEof = frames.size(); - QPID_LOG(debug, "Requesting write: lastEof=" << lastEof); aio->notifyPendingWrite(); } QPID_LOG(trace, "SENT " << identifier << ": " << frame); @@ -163,8 +162,6 @@ void Connector::Writer::handle(framing::AMQFrame& frame) { void Connector::Writer::writeOne(const Mutex::ScopedLock& l) { assert(buffer); - QPID_LOG(trace, "Write buffer " << encode.getPosition() - << " bytes " << framesEncoded << " frames "); framesEncoded = 0; buffer->dataStart = 0; @@ -193,7 +190,6 @@ void Connector::Writer::write(sys::AsynchIO&) { frame.encode(encode); ++framesEncoded; bytesWritten += size; - QPID_LOG(debug, "Wrote frame: lastEof=" << lastEof << ", i=" << i); } frames.erase(frames.begin(), frames.begin()+lastEof); lastEof = 0; |
