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
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to