diff options
| author | Gordon Sim <gsim@apache.org> | 2011-09-23 14:23:50 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-09-23 14:23:50 +0000 |
| commit | 9faf0f9fd6ceb3b727e4db511a6d8a3584e54ba1 (patch) | |
| tree | 15eae7322f647884b0747bf89308013cec5f13bb /qpid/cpp/src | |
| parent | f325cfba9b0ed36908f95c0ee4104647de772bfa (diff) | |
| download | qpid-python-9faf0f9fd6ceb3b727e4db511a6d8a3584e54ba1.tar.gz | |
QPID-3502: Ensure accepts are sent when required for asynchronously completed messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1174800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/SessionState.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/broker/SessionState.cpp b/qpid/cpp/src/qpid/broker/SessionState.cpp index 742dbe9be8..ddd6ae3f5b 100644 --- a/qpid/cpp/src/qpid/broker/SessionState.cpp +++ b/qpid/cpp/src/qpid/broker/SessionState.cpp @@ -346,10 +346,8 @@ void SessionState::completeRcvMsg(SequenceNumber id, } // if the sender has requested immediate notification of the completion... - if (requiresSync) { + if (requiresSync || callSendCompletion) { sendAcceptAndCompletion(); - } else if (callSendCompletion) { - sendCompletion(); } } |
