diff options
author | Alan Conway <aconway@apache.org> | 2010-08-03 15:33:12 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-08-03 15:33:12 +0000 |
commit | 9e7d3b38762eeb806941ae3fe0e8bdc70561fbe3 (patch) | |
tree | fd55d91c8e2fd3281707a54f56dcb0de2813bf52 /cpp/src/qpid/amqp_0_10/SessionHandler.cpp | |
parent | 3af9c51bef0768a75ecd417076154fe6a0ae11ce (diff) | |
download | qpid-python-9e7d3b38762eeb806941ae3fe0e8bdc70561fbe3.tar.gz |
Disable non-0 session timeouts.
Since session resume is not fully implemented, non-0 session timeouts
are of no use. Moreover the partial implementation causes problems in
a cluster as stale sessions kept alive by a timeout can interfere with
failover and updates.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@981933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/amqp_0_10/SessionHandler.cpp')
-rw-r--r-- | cpp/src/qpid/amqp_0_10/SessionHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp_0_10/SessionHandler.cpp b/cpp/src/qpid/amqp_0_10/SessionHandler.cpp index 2448e9ef26..b113d49a73 100644 --- a/cpp/src/qpid/amqp_0_10/SessionHandler.cpp +++ b/cpp/src/qpid/amqp_0_10/SessionHandler.cpp @@ -205,7 +205,7 @@ void SessionHandler::handleDetach() { void SessionHandler::requestTimeout(uint32_t t) { checkAttached(); getState()->setTimeout(t); - peer.timeout(t); + peer.timeout(getState()->getTimeout()); } void SessionHandler::timeout(uint32_t t) { |