On Thu, Jun 21, 2012 at 3:12 PM, Daniel Stenberg <[email protected]> wrote: >> [curl_multi_socket_action] With `CURL_SOCKET_TIMEOUT`: > > It goes through all easy-handles that have reached the timeout time > and checks if there's anything to do for them due to the timeout. It > can lead to calls to the CURLMOPT_SOCKETFUNCTION sure, but also to > CURLMOPT_TIMERFUNCTION or none at all, depending on the exact > circumstances.
Concerning the timer / timeouts, some more questions: * Why is it necessary to repeatedly call `curl_multi_socket_action` with `CURL_SOCKET_TIMEOUT`? After a socket has been created, isn't it sufficient to only watch actions on the socket? After all, each socket is associated with an easy handle. * How is the timeout value determined internally? ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
