diff options
| author | Alan Conway <aconway@apache.org> | 2009-10-01 20:48:11 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-10-01 20:48:11 +0000 |
| commit | 65cd06e0d5cdf3b97eb343d5d9641957e2c9e0a5 (patch) | |
| tree | 2a1efd091420566e2e7c1414951eef5b81093583 /cpp/src/qpid/amqp_0_10/Connection.h | |
| parent | 16a6c8873629972a7324509aac13bb950419176f (diff) | |
| download | qpid-python-65cd06e0d5cdf3b97eb343d5d9641957e2c9e0a5.tar.gz | |
Fix broker race where broker closes connection before sending close-ok.
This was showing up in python/cluster interactions but it looks like
the race could also occur on a stand-alone broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/amqp_0_10/Connection.h')
| -rw-r--r-- | cpp/src/qpid/amqp_0_10/Connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp_0_10/Connection.h b/cpp/src/qpid/amqp_0_10/Connection.h index 6fd51381fc..995d824796 100644 --- a/cpp/src/qpid/amqp_0_10/Connection.h +++ b/cpp/src/qpid/amqp_0_10/Connection.h @@ -47,7 +47,7 @@ class Connection : public sys::ConnectionCodec, FrameQueue frameQueue; FrameQueue workQueue; - bool frameQueueClosed; + bool pushClosed, popClosed; mutable sys::Mutex frameQueueLock; sys::OutputControl& output; std::auto_ptr<sys::ConnectionInputHandler> connection; |
