qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r782715 - /qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp
Date Mon, 08 Jun 2009 18:06:09 GMT
Author: astitcher
Date: Mon Jun  8 18:06:09 2009
New Revision: 782715

URL: http://svn.apache.org/viewvc?rev=782715&view=rev
Log:
YA Fix to the cluster behaviour of the client heartbeat
(non) detection code

Modified:
    qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp?rev=782715&r1=782714&r2=782715&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/OutputInterceptor.cpp Mon Jun  8 18:06:09 2009
@@ -66,7 +66,9 @@
 
 void OutputInterceptor::abort() {
     sys::Mutex::ScopedLock l(lock);
-    next->abort();
+    if (parent.isLocal()) {
+        next->abort();
+    }
 }
 
 void OutputInterceptor::giveReadCredit(int32_t credit) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message