Decrease MAX_REQUESTS in test-fdleak

We've got to do this because doing otherwise seems to freak out
windows XP.
This commit is contained in:
Nick Mathewson 2012-04-03 15:43:40 -04:00
parent 14eb28a312
commit 6c95c6c8a2

View File

@ -50,7 +50,11 @@
/* Number of requests to make. Setting this too high might result in the machine
running out of ephemeral ports */
#ifdef _WIN32
#define MAX_REQUESTS 1000
#else
#define MAX_REQUESTS 4000
#endif
/* Provide storage for the address, both for the server & the clients */
static struct sockaddr_in sin;