[or-cvs] r8353: possibly make tor build and run on cygwin again. (tor/trunk/src/or)
arma at seul.org
arma at seul.org
Fri Sep 8 20:48:43 UTC 2006
Author: arma
Date: 2006-09-08 16:48:43 -0400 (Fri, 08 Sep 2006)
New Revision: 8353
Modified:
tor/trunk/src/or/or.h
Log:
possibly make tor build and run on cygwin again.
Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h 2006-09-08 16:12:15 UTC (rev 8352)
+++ tor/trunk/src/or/or.h 2006-09-08 20:48:43 UTC (rev 8353)
@@ -80,7 +80,13 @@
/** Upper bound on maximum simultaneous connections; can be lowered by
* config file. */
+#ifdef CYGWIN
+/* http://archives.seul.org/or/talk/Aug-2006/msg00210.html */
+#define MAXCONNECTIONS 3200
+#else
+/* very high by default. "nobody should need more than this..." */
#define MAXCONNECTIONS 15000
+#endif
#ifdef MS_WINDOWS
/* No, we don't need to redefine FD_SETSIZE before including winsock:
More information about the tor-commits
mailing list