[PATCH] fixing the final select()isms
Date: Wed, 30 May 2007 15:11:42 +0200 (CEST)
I went through the code and I found that really the only user left of the
select() stuff in libcurl was the c-ares related code.
I've added a brand new function to c-ares that I committed just a short while
ago and I wrote up the attached patch that makes libcurl no longer use
Curl_select() when using c-ares but instead use Curl_poll() which shouldn't
impose the FD_SETSIZE problems for us (on most systems).
This has the upside that we can completely remove Curl_select() from libcurl,
but it makes us rely on a c-ares version that isn't yet released.
I'll try to get some testing done with this version using a large amount of
sockets to verify this makes things run smoother.
Is there anyone who objects me committing this?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
- TEXT/PLAIN attachment: ares-poll.patch