Subject: Incomplete patch for poll support

Incomplete patch for poll support

From: Zan Lynx <zlynx_at_acm.org>
Date: Tue, 14 Apr 2015 14:52:12 -0600

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