From cd42a657e1033847477c969af24e165c139d832b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Tue, 8 Sep 2009 17:29:24 +0000 Subject: Fixed code that pushes a buffer into the read queue if closed for write git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@812590 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp index e702a6d76d..8545ebd9cb 100644 --- a/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp +++ b/qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp @@ -383,7 +383,7 @@ void AsynchIO::queueWrite(BufferBase* buff) { 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); -- cgit v1.2.1