mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-17 16:29:28 -04:00
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:
parent
14eb28a312
commit
6c95c6c8a2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user