summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-09-08 17:29:24 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-09-08 17:29:24 +0000
commitcd42a657e1033847477c969af24e165c139d832b (patch)
treeab966d9d83ce47a90b66e15604fdb2276304a352 /qpid/cpp/src
parenta6f764698a484686d80bfb25dd32a8916e8573cc (diff)
downloadqpid-python-cd42a657e1033847477c969af24e165c139d832b.tar.gz
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
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/posix/AsynchIO.cpp2
1 files changed, 1 insertions, 1 deletions
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);