select() returns 1, timeout hasn't expired, but all FD bits are zero

2015-01-23 Thread Daniel Hardman
I have been getting occasional, mysterious crashes inside ares_process() on 3 separate machines. Typically the crashes happen under steady, moderate load (tens to hundreds of DNS queries per second); I can make them happen faster if I stress the system. Today I finally captured a useful core and di

Re: support for event-based loops (or workaround for FD_SETSIZE limit)

2015-01-23 Thread Daniel Stenberg
On Thu, 22 Jan 2015, Daniel Hardman wrote: I would love to switch to an epoll-style approach. I found one interaction between Daniel S and someone else on this forum, where this was discussed. Daniel said he had added ares_getsock() to support just such a use case. However, ares_getsock() only