From b5f8cf1bd9b5652e2691d6bc5b9b1c3228f53d68 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 5 Aug 2008 19:29:09 +0000 Subject: Fix Cluster::send encode race. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682885 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Connector.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cpp/src/qpid/client') 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; -- cgit v1.2.1