From 6c95c6c8a266078af650e952dbd6013cf4de5ce9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 3 Apr 2012 15:43:40 -0400 Subject: [PATCH] Decrease MAX_REQUESTS in test-fdleak We've got to do this because doing otherwise seems to freak out windows XP. --- test/test-fdleak.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-fdleak.c b/test/test-fdleak.c index 4f76f7ff..d72917ad 100644 --- a/test/test-fdleak.c +++ b/test/test-fdleak.c @@ -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;