Redefine FD_SETSIZE on Windows. Set it to 4096.
commit26e41cb6c38934a79345bcea5f463ced17393392
authorwitekfl <witekfl@poczta.onet.pl>
Sat, 5 Jan 2013 12:42:35 +0000 (5 13:42 +0100)
committerwitekfl <witekfl@poczta.onet.pl>
Sat, 5 Jan 2013 12:42:35 +0000 (5 13:42 +0100)
treed08b0b02f377c9db0d438f06209da20b453b7533
parent4fc6343407921331cef13c67e79e74662437fceb
Redefine FD_SETSIZE on Windows. Set it to 4096.

There was hardcoded 4096 for threads size, but below there was:
assertm(fd >= 0 && fd < FD_SETSIZE,
"get_handler: handle %d >= FD_SETSIZE %d",
fd, FD_SETSIZE);
if_assert_failed return NULL;
which fails for fd > 1024 (1024 was previous value of FD_SETSIZE)
src/main/select.c