diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-09-08 17:29:24 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-09-08 17:29:24 +0000 |
commit | d907397aacd1518bc4d9d50b261ee41ec5ed79e8 (patch) | |
tree | 6638f97a2d4609f259ea28c2425b8ba489a60303 /cpp | |
parent | 8f0fd209fb0b31814fb7b1ff7a7271d1e3239cd3 (diff) | |
download | qpid-python-d907397aacd1518bc4d9d50b261ee41ec5ed79e8.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/qpid@812590 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/sys/posix/AsynchIO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/posix/AsynchIO.cpp b/cpp/src/qpid/sys/posix/AsynchIO.cpp index e702a6d76d..8545ebd9cb 100644 --- a/cpp/src/qpid/sys/posix/AsynchIO.cpp +++ b/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); |