summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionHandler.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.cpp b/cpp/src/qpid/broker/SessionHandler.cpp
index 3baa3a89a7..0b1e744e25 100644
--- a/cpp/src/qpid/broker/SessionHandler.cpp
+++ b/cpp/src/qpid/broker/SessionHandler.cpp
@@ -77,12 +77,6 @@ void SessionHandler::handleIn(AMQFrame& f) {
}
}
-void SessionHandler::destroy() {
- ignoring=true; // Ignore trailing frames sent by client.
- session->detach();
- session.reset();
-}
-
void SessionHandler::handleOut(AMQFrame& f) {
channel.handle(f); // Send it.
if (session->sent(f))
@@ -160,12 +154,12 @@ void SessionHandler::detached(const std::string& name, uint8_t code)
void SessionHandler::requestTimeout(uint32_t t)
{
session->setTimeout(t);
- //proxy.timeout(t);
+ peerSession.timeout(t);
}
-void SessionHandler::timeout(uint32_t)
+void SessionHandler::timeout(uint32_t t)
{
- //not sure what we need to do on the server for this...
+ session->setTimeout(t);
}
void SessionHandler::commandPoint(const framing::SequenceNumber& id, uint64_t offset)