summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionState.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-11-28 13:28:21 +0000
committerGordon Sim <gsim@apache.org>2007-11-28 13:28:21 +0000
commit8e3ec1e93a84fcc0dac67639293b6f80bec21417 (patch)
tree03da8bc9a4f9e57a430d3761b6fbe4f9ba7a7872 /cpp/src/qpid/broker/SessionState.cpp
parent21e1355c2565e8e348233f582d49be3f69460890 (diff)
downloadqpid-python-8e3ec1e93a84fcc0dac67639293b6f80bec21417.tar.gz
Disable recoding of frames for replay where replay will not be required.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@598992 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionState.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp
index ebf02a8306..27658f2c84 100644
--- a/cpp/src/qpid/broker/SessionState.cpp
+++ b/cpp/src/qpid/broker/SessionState.cpp
@@ -40,7 +40,7 @@ void SessionState::handleOut(AMQFrame& f) {
SessionState::SessionState(
SessionManager& f, SessionHandler& h, uint32_t timeout_, uint32_t ack)
- : framing::SessionState(ack),
+ : framing::SessionState(ack, timeout_ > 0),
factory(f), handler(&h), id(true), timeout(timeout_),
broker(h.getConnection().broker),
version(h.getConnection().getVersion()),