On Fri, 9 Jun 2017, Mradula Nayak via curl-library wrote:
I am trying to determine the timeout for my curl_multi_wait. I was thinking of using curl_multi_timout to get the maximum time to wait for and then use that timeout for curl_multi_wait. Is this approach correct?
curl_multi_timout() already uses the "maximum time to wait" (for tranfer purposes on that multi handle) internally so that it will never wait longer than what's suitable. The timeout you should pass to this function is the maximum time your app is fine to have the function lock up.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
