summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/ami/Server.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-12-12 14:30:09 +0100
committerBenoit Foucher <benoit@zeroc.com>2014-12-12 14:30:09 +0100
commit2d87f0494362373597d3cc398b0009fa12b7d8cb (patch)
tree75c648743728792a759bf0de56d091489cb54430 /cpp/test/Ice/ami/Server.cpp
parentFixed (ICE-6156) - C++ objects specified more than once warning (diff)
downloadice-2d87f0494362373597d3cc398b0009fa12b7d8cb.tar.bz2
ice-2d87f0494362373597d3cc398b0009fa12b7d8cb.tar.xz
ice-2d87f0494362373597d3cc398b0009fa12b7d8cb.zip
Fixed bug 6113 and added setting for the recv TCP buffer size
Diffstat (limited to 'cpp/test/Ice/ami/Server.cpp')
-rw-r--r--cpp/test/Ice/ami/Server.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/ami/Server.cpp b/cpp/test/Ice/ami/Server.cpp
index ee207ca809b..736ad2b31e8 100644
--- a/cpp/test/Ice/ami/Server.cpp
+++ b/cpp/test/Ice/ami/Server.cpp
@@ -55,6 +55,12 @@ main(int argc, char* argv[])
//
initData.properties->setProperty("Ice.Warn.Connections", "0");
+ //
+ // Limit the recv buffer size, this test relies on the socket
+ // send() blocking after sending a given amount of data.
+ //
+ initData.properties->setProperty("Ice.TCP.RcvSize", "50000");
+
communicator = Ice::initialize(argc, argv, initData);
status = run(argc, argv, communicator);
}