From 5fe7eb38df0c0e205e9663ac6056aeef2ac0bc8b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 8 Jun 2009 18:06:09 +0000 Subject: YA Fix to the cluster behaviour of the client heartbeat (non) detection code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782715 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/OutputInterceptor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/qpid/cluster/OutputInterceptor.cpp b/cpp/src/qpid/cluster/OutputInterceptor.cpp index b5fa595577..ef99058471 100644 --- a/cpp/src/qpid/cluster/OutputInterceptor.cpp +++ b/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) { -- cgit v1.2.1