diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-06-08 18:06:09 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-06-08 18:06:09 +0000 |
| commit | 3d97b2b959504ad4933cc1ddc6974a7bdf8457ea (patch) | |
| tree | 1aeda9315c4399d92b85157bff209c824678e3d3 /qpid/cpp | |
| parent | 0f979c0b50d1c295f0e966236dc4e5aa902f6af2 (diff) | |
| download | qpid-python-3d97b2b959504ad4933cc1ddc6974a7bdf8457ea.tar.gz | |
YA Fix to the cluster behaviour of the client heartbeat
(non) detection code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@782715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp b/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp index b5fa595577..ef99058471 100644 --- a/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp +++ b/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp @@ -66,7 +66,9 @@ void OutputInterceptor::activateOutput() { void OutputInterceptor::abort() { sys::Mutex::ScopedLock l(lock); - next->abort(); + if (parent.isLocal()) { + next->abort(); + } } void OutputInterceptor::giveReadCredit(int32_t credit) { |
