Author: astitcher Date: Tue Sep 8 17:29:24 2009 New Revision: 812590 URL: http://svn.apache.org/viewvc?rev=812590&view=rev Log: Fixed code that pushes a buffer into the read queue if closed for write
Modified: qpid/trunk/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp Modified: qpid/trunk/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp?rev=812590&r1=812589&r2=812590&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp (original) +++ qpid/trunk/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp Tue Sep 8 17:29:24 2009 @@ -383,7 +383,7 @@ assert(buff); // If we've already closed the socket then throw the write away if (queuedClose) { - bufferQueue.push_front(buff); + queueReadBuffer(buff); return; } else { writeQueue.push_front(buff); --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:commits-subscr...@qpid.apache.org