From 25cb9453d775250cef20a282352ba57131a8b08a Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 8 Sep 2006 20:48:43 +0000 Subject: [PATCH] possibly make tor build and run on cygwin again. svn:r8353 --- src/or/or.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/or/or.h b/src/or/or.h index 33b7016ec5..1cb4446aac 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -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: