summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/config.server
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/throughput/config.server')
-rw-r--r--cpp/demo/Ice/throughput/config.server19
1 files changed, 17 insertions, 2 deletions
diff --git a/cpp/demo/Ice/throughput/config.server b/cpp/demo/Ice/throughput/config.server
index 86b3decf6dd..85adf59767d 100644
--- a/cpp/demo/Ice/throughput/config.server
+++ b/cpp/demo/Ice/throughput/config.server
@@ -3,7 +3,17 @@
# "Throughput". The following line sets the endpoints for this
# adapter.
#
-Throughput.Endpoints=default -p 10000 -h localhost
+Throughput.Endpoints=tcp -p 10000:ssl -p 10001:ws -p 10002:wss -p 10003
+
+#
+# Only listen on the localhost interface by default.
+#
+Ice.Default.Host=localhost
+
+#
+# We need to disable VerifyPeer for secure WebSocket (WSS) clients.
+#
+IceSSL.VerifyPeer=0
#
# Warn about connection exceptions
@@ -22,7 +32,12 @@ IceSSL.KeyFile=s_rsa1024_priv.pem
#
# IceMX configuration.
#
-#Ice.Admin.Endpoints=tcp -h localhost -p 10002
+#Ice.Admin.Endpoints=tcp -p 10004
Ice.Admin.InstanceName=server
IceMX.Metrics.Debug.GroupBy=id
IceMX.Metrics.ByParent.GroupBy=parent
+
+#
+# Install WebSocket transport plug-in
+#
+Ice.Plugin.IceWS=IceWS:createIceWS