I keep meaning to clean this up, add configure options, make it build
on Windows etc, but I don't know if I am ever going to get around to it.
So in the interest of maybe helping someone else I am going to send
this as-is.
It is a patch that adds some functions to use poll instead of select.
I had a problem with software that was linked to c-ares and it was
using more than 1024 file descriptors. When it would open a UDP socket
and that socket ended up higher than 1024 the select FDSET macros
would crash or corrupt memory.
Here it is, attached:
Received on 2015-04-14