From b5b035ebe4ac98c7c4c8633150b396ed73919dca Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 26 Feb 2009 19:57:13 +0000 Subject: 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 --- cpp/src/qpid/client/SessionImpl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp/src/qpid') 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) { -- cgit v1.2.1