mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
possibly make tor build and run on cygwin again.
svn:r8353
This commit is contained in:
parent
fdd56dee69
commit
25cb9453d7
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user