If FD_SETSIZE is a problem you're using a very large amount of file descriptors. If you're using a large amount of file descriptors then poll() is also very slow and a bad choice. Hence libcurl provides the multi_socket API to allow the app to work around both the FD_SETSIZE problem as well as completely avoiding slow functions such as poll() and select().
I'm not seeing the major benefit of this function.
If you still think this is good stuff for libcurl, then I would like to see that you motivate and explain your patch and reasoning on the curl-library list so that we can discuss pros and cons and see what others think and how to proceed. (The patch also lacks documentation and test cases.)
This is not a bug, so this bug entry will be closed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The patch
Thanks,
If FD_SETSIZE is a problem you're using a very large amount of file descriptors. If you're using a large amount of file descriptors then poll() is also very slow and a bad choice. Hence libcurl provides the multi_socket API to allow the app to work around both the FD_SETSIZE problem as well as completely avoiding slow functions such as poll() and select().
I'm not seeing the major benefit of this function.
If you still think this is good stuff for libcurl, then I would like to see that you motivate and explain your patch and reasoning on the curl-library list so that we can discuss pros and cons and see what others think and how to proceed. (The patch also lacks documentation and test cases.)
This is not a bug, so this bug entry will be closed.