mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
When transferring 500 downloads in parallel with a c-ares enabled build only
to find that it crashed miserably, and this was due to some select()isms left in the code. This was due to API restrictions in c-ares 1.3.x, but with the upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much better with c-ares and the multi interface with > 1024 file descriptors in use.
This commit is contained in:
parent
713c9f8602
commit
4c663ba9a8
8 changed files with 92 additions and 263 deletions
|
|
@ -81,10 +81,6 @@ int Curl_socket_ready(curl_socket_t readfd, curl_socket_t writefd,
|
|||
|
||||
int Curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);
|
||||
|
||||
int Curl_select(int nfds,
|
||||
fd_set *fds_read, fd_set *fds_write, fd_set *fds_excep,
|
||||
struct timeval *timeout);
|
||||
|
||||
#ifdef TPF
|
||||
int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes,
|
||||
fd_set* excepts, struct timeval* tv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue