possibly make tor build and run on cygwin again.

svn:r8353
This commit is contained in:
Roger Dingledine 2006-09-08 20:48:43 +00:00
parent fdd56dee69
commit 25cb9453d7

View File

@ -80,7 +80,13 @@
/** Upper bound on maximum simultaneous connections; can be lowered by /** Upper bound on maximum simultaneous connections; can be lowered by
* config file. */ * 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 #define MAXCONNECTIONS 15000
#endif
#ifdef MS_WINDOWS #ifdef MS_WINDOWS
/* No, we don't need to redefine FD_SETSIZE before including winsock: /* No, we don't need to redefine FD_SETSIZE before including winsock: