summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-02-26 19:57:13 +0000
committerGordon Sim <gsim@apache.org>2009-02-26 19:57:13 +0000
commitb5b035ebe4ac98c7c4c8633150b396ed73919dca (patch)
treec9da44aa3b4ea2821d740b9cf55aab0cbe4c0818 /cpp/src
parent9578058fc27c166a3021f38abf1f6a6c7c8f6b7a (diff)
downloadqpid-python-b5b035ebe4ac98c7c4c8633150b396ed73919dca.tar.gz
Send session.detached back to server in response to a detach.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/SessionImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp
index ee542a9cf8..383c138dcd 100644
--- a/cpp/src/qpid/client/SessionImpl.cpp
+++ b/cpp/src/qpid/client/SessionImpl.cpp
@@ -512,6 +512,7 @@ void SessionImpl::detach(const std::string& _name)
if (id.getName() != _name) throw InternalErrorException("Incorrect session name");
setState(DETACHED);
QPID_LOG(info, "Session detached by peer: " << id);
+ proxy.detached(_name, DETACH_CODE_NORMAL);
}
void SessionImpl::detached(const std::string& _name, uint8_t _code) {