On Sat, 18 Dec 2010, Michael Fischer wrote:

 if(data->state.used_interface == Curl_if_multi)
   /* don't hang when doing multi */
   timeout_per_addr = 0;

So, it appears that if you are using the multi interface, but set CURLOPT_*TIMEOUT to a value shorter than the OS default, the timeout will expire before the next address in the list is attempted.

We only very recently started to support timeouts at all with the multi interface, but when we introdced that support we didn't properly take care of this case. I agree it is a bug.

Any plans to remediate this?

Yes, I think we should fix this. Feel free to dig in and help us out!

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to