aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-20 22:28:26 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-20 22:28:26 +0000
commit93aa3355161923d722d196ebb27f35c8138c4c69 (patch)
tree8790b4ceddf2e412d39972a86817226d2e658806 /src/or/or.h
parent644452a62fde5fec66dab56c4f47204f42b57bac (diff)
downloadtor-93aa3355161923d722d196ebb27f35c8138c4c69.tar.gz
tor-93aa3355161923d722d196ebb27f35c8138c4c69.zip
r18269@catbus: nickm | 2008-02-20 17:28:24 -0500
Apply patch from Sebastian Hahn: stop imposing an arbitrary maximum on the number of file descriptors used for busy servers. Bug reported by Olaf Selke. svn:r13626
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/or/or.h b/src/or/or.h
index f4427089c3..50d98e82ab 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -65,18 +65,6 @@
#include <time.h>
#endif
-/** Upper bound on maximum simultaneous connections; can be lowered by
- * config file. */
-#if defined(CYGWIN) || defined(__CYGWIN__) || defined(IPHONE)
-/* Re Cygwin, see http://archives.seul.org/or/talk/Aug-2006/msg00210.html */
-/* For an iPhone, the limit would be closer to 9999. But nobody seems to be
- * running a server on an iPhone anyway? */
-#define MAXCONNECTIONS 3200
-#else
-/* very high by default. "nobody should need more than this..." */
-#define MAXCONNECTIONS 15000
-#endif
-
#ifdef MS_WINDOWS
#include <io.h>
#include <process.h>