On Mon, 23 Aug 2010, Dirk Manske wrote:
Duh! Looks like there's still a time-out bug with the multi interface. I've played again with the examples multi-single.c and hiperfifo.c, after adding CURLOPT_TIMEOUT both example programs detects time-out while connecting. But after connection only multi-single.c (using curl_multi_timeout) will detect a time-out, but not hiperfifo.c (using timer callback).
Right, but isn't this the results of the same problem Constantine Sapuntzakis and I've been talking about: the fact that Curl_expire(..., 0) currently erases all currently set timeouts?
I believe it is, so I think the fixes we're discussing are even more suitable at least as a start and then see if things aren't solved:
http://curl.haxx.se/mail/lib-2010-08/0194.html -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
