summaryrefslogtreecommitdiff
path: root/qpid/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
commit7b30a9adbf13432dd8d7bf0abe868ed773d2ad16 (patch)
tree454ff86ba1979a8c40c534fe22b9326650673a66 /qpid/cpp/src
parent9e6258ac847cc8d725c43a484de7f32aa8da94da (diff)
downloadqpid-python-7b30a9adbf13432dd8d7bf0abe868ed773d2ad16.tar.gz
Send session.detached back to server in response to a detach.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@748286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/client/SessionImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/client/SessionImpl.cpp b/qpid/cpp/src/qpid/client/SessionImpl.cpp
index ee542a9cf8..383c138dcd 100644
--- a/qpid/cpp/src/qpid/client/SessionImpl.cpp
+++ b/qpid/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) {