diff options
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) : |