cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Seeing error message: "Please call cul_multi_perfom() soon"

From: Sameer Agrawal <agrawalsameer_at_gmail.com>
Date: Tue, 26 Jun 2012 14:47:46 -0700

Great. Thanks Daniel.
I missed reading the little section of the man page. Appreciate your quick
response.
I got things working now.

Regards
Sameer

On Mon, Jun 25, 2012 at 1:50 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 25 Jun 2012, Sameer Agrawal wrote:
>
> CURLcode res = curl_multi_perform(multi_**handle, &still_running);
>> if (res != CURLM_OK) {
>>
>
> You didn't say which libcurl version you're using so I'll just quote this
> little section of the man page:
>
> Before version 7.20.0: If you receive CURLM_CALL_MULTI_PERFORM, this
> basically means that you should call curl_multi_perform again, before you
> select() on more actions. You don't have to do it immediately, but the
> return
> code means that libcurl may have more data available to return or that
> there
> may be more data to send off before it is "satisfied". Do note that
> curl_multi_perform(3) will return CURLM_CALL_MULTI_PERFORM only when it
> wants
> to be called again immediately. When things are fine and there is nothing
> immediate it wants done, it'll return CURLM_OK and you need to wait for
> "action" and then call this function again.
>
> --
>
> / daniel.haxx.se
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-26