cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform question

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 9 Sep 2004 15:37:06 +0200 (CEST)

On Thu, 9 Sep 2004, sKaBoy [utf-8] (LucaOgnibene) wrote:

>> Yes. 0, 1 or more calls.

> Eck.. when my callback can be called more then 1 time ?

You already said you experienced this yourself with file:// URLs.

If you need to know why, then I need to re-state that file:// transfers in the
multi interface need a weird hack one way or another. I won't mind if you
provide a better way for libcurl to do it.

> So there's no way to do a non-blocking call to curl_multi_perform ?

curl_multi_perform() is designed and written to be as non-blocking as
possible. Feel free to join in and help us improve it. It isn't perfect yet.

> Is this going to change? Or i can assume that 1 call to multi_perform = 1
> call to my callback ?

No, you shouldn't assume that.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-09-09