summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-18 17:36:37 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-18 17:36:37 +0000
commitb36c99aadbc7c0065c71b748d0b04be18e120d11 (patch)
tree85181683abfe18b31e45d34b285758a35ddaaa41 /cpp
parentfixes (diff)
downloadice-b36c99aadbc7c0065c71b748d0b04be18e120d11.tar.bz2
ice-b36c99aadbc7c0065c71b748d0b04be18e120d11.tar.xz
ice-b36c99aadbc7c0065c71b748d0b04be18e120d11.zip
fix
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Ice/hello/config9
-rw-r--r--cpp/src/Ice/Instance.cpp4
2 files changed, 10 insertions, 3 deletions
diff --git a/cpp/demo/Ice/hello/config b/cpp/demo/Ice/hello/config
index 24299897cdd..87b8b67aa96 100644
--- a/cpp/demo/Ice/hello/config
+++ b/cpp/demo/Ice/hello/config
@@ -17,6 +17,11 @@ Hello.Endpoints=tcp -p 10000:udp -p 10000:ssl -p 10001
Ice.Warn.Connections=1
#
+# We want a faster ACM for this demo.
+#
+Ice.ConnectionIdleTime=10
+
+#
# Network Tracing
#
# 0 = no network tracing
@@ -24,7 +29,7 @@ Ice.Warn.Connections=1
# 2 = like 1, but more detailed
# 3 = like 2, but also trace data transfer
#
-Ice.Trace.Network=0
+Ice.Trace.Network=1
#
# Protocol Tracing
@@ -32,7 +37,7 @@ Ice.Trace.Network=0
# 0 = no protocol tracing
# 1 = trace protocol messages
#
-Ice.Trace.Protocol=0
+Ice.Trace.Protocol=1
#
# Security Tracing
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 2e80b18e319..0b3756b7e5e 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -377,7 +377,9 @@ IceInternal::Instance::flushBatchRequests()
IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const PropertiesPtr& properties) :
_destroyed(false),
- _properties(properties)
+ _properties(properties),
+ _messageSizeMax(0),
+ _connectionIdleTime(0)
{
IceUtil::Mutex::Lock sync(*_globalStateMutex);
++_globalStateCounter;