summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
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/client
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/client')
-rw-r--r--cpp/src/qpid/client/SessionCore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/SessionCore.cpp b/cpp/src/qpid/client/SessionCore.cpp
index 3a26734892..ea32622ba1 100644
--- a/cpp/src/qpid/client/SessionCore.cpp
+++ b/cpp/src/qpid/client/SessionCore.cpp
@@ -246,7 +246,7 @@ void SessionCore::attached(const Uuid& sessionId,
if (state==OPENING) { // New session
// FIXME aconway 2007-10-17: arbitrary ack value of 100 for
// client, allow configuration.
- session=in_place<SessionState>(100, sessionId);
+ session=in_place<SessionState>(100, detachedLifetime > 0, sessionId);
setState(OPEN);
}
else { // RESUMING