diff options
author | Gordon Sim <gsim@apache.org> | 2007-11-28 13:28:21 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-11-28 13:28:21 +0000 |
commit | 8e3ec1e93a84fcc0dac67639293b6f80bec21417 (patch) | |
tree | 03da8bc9a4f9e57a430d3761b6fbe4f9ba7a7872 /cpp/src/qpid/framing/SessionState.cpp | |
parent | 21e1355c2565e8e348233f582d49be3f69460890 (diff) | |
download | qpid-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/framing/SessionState.cpp')
-rw-r--r-- | cpp/src/qpid/framing/SessionState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/SessionState.cpp b/cpp/src/qpid/framing/SessionState.cpp index 52b71d0cf9..f9019b036c 100644 --- a/cpp/src/qpid/framing/SessionState.cpp +++ b/cpp/src/qpid/framing/SessionState.cpp @@ -32,7 +32,7 @@ namespace qpid { namespace framing { -SessionState::SessionState(uint32_t ack, const Uuid& uuid) : +SessionState::SessionState(uint32_t ack, bool enableReplay, const Uuid& uuid) : state(ATTACHED), id(uuid), lastReceived(-1), @@ -41,7 +41,7 @@ SessionState::SessionState(uint32_t ack, const Uuid& uuid) : sendAckAt(lastReceived+ackInterval), solicitAckAt(lastSent+ackInterval), ackSolicited(false), - resumable(true) + resumable(enableReplay) {} SessionState::SessionState(const Uuid& uuid) : |