diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/demo/Ice/hello/config | 9 | ||||
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 4 |
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; |