summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/CHANGES3
-rw-r--r--cpp/include/IceUtil/Config.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/cpp/CHANGES b/cpp/CHANGES
index c7b79f248e5..443f725f3c4 100644
--- a/cpp/CHANGES
+++ b/cpp/CHANGES
@@ -1,6 +1,9 @@
Changes since version 1.2.0
---------------------------
+- Changed FD_SETSIZE under Windows to 1024. (The default permits only
+ 64 concurrent connections, which is too small for some applications.)
+
- The IcePatch server now ignores Ice exceptions in the update thread
instead of terminating the update thread.
diff --git a/cpp/include/IceUtil/Config.h b/cpp/include/IceUtil/Config.h
index 38d323d1398..d97da4af3b3 100644
--- a/cpp/include/IceUtil/Config.h
+++ b/cpp/include/IceUtil/Config.h
@@ -107,6 +107,10 @@
# error "Only multi-threaded DLL libraries can be used with Ice!"
# endif
+// The Windows default of 64 is too small -- we want more concurrent
+// connections than that.
+# define FD_SETSIZE 1024
+
# include <windows.h>
// '...' : forcing value to bool 'true' or 'false' (performance warning)