cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: curl_multi_perform question

From: LucaOgnibene <skaboy81_at_virgilio.it>
Date: Thu, 9 Sep 2004 13:30:12 +0000 (UTC)

Daniel Stenberg <daniel-curl <at> haxx.se> writes:

> > my callback is called 0 or 1 time when i call curl_multi_perform or it can
> > be called a lot of time?
>
> Yes. 0, 1 or more calls.
Eck.. when my callback can be called more then 1 time ?
>
> file:// URLs are not treated very nicely internally in the multi interface,
> and this is mainly for portability reasons: windows (and a few other OSes)
> can't be made to select() on plain file handles, only sockets.
So there's no way to do a non-blocking call to curl_multi_perform ?
>
> > With a url like http:// curl_multi_perform calls my callback one time, then
> > returns. mmm why?
>
> Because of the implementation.
>
Is this going to change? Or i can assume that 1 call to multi_perform = 1 call
to my callback ?
Received on 2004-09-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET