qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1174800 - /qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp
Date Fri, 23 Sep 2011 14:23:50 GMT
Author: gsim
Date: Fri Sep 23 14:23:50 2011
New Revision: 1174800

URL: http://svn.apache.org/viewvc?rev=1174800&view=rev
Log:
QPID-3502: Ensure accepts are sent when required for asynchronously completed messages

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp?rev=1174800&r1=1174799&r2=1174800&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/SessionState.cpp Fri Sep 23 14:23:50 2011
@@ -346,10 +346,8 @@ void SessionState::completeRcvMsg(Sequen
     }
 
     // if the sender has requested immediate notification of the completion...
-    if (requiresSync) {
+    if (requiresSync || callSendCompletion) {
         sendAcceptAndCompletion();
-    } else if (callSendCompletion) {
-        sendCompletion();
     }
 }
 



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


Mime
View raw message