cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question regarding curl_multi_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 30 Aug 2009 15:37:12 +0200 (CEST)

On Sat, 29 Aug 2009, subbuscenter-curl_at_yahoo.com wrote:

> If the curl_multi_perform() call returns CURLM_OK but sets running_handles
> to 0, does it mean that curl is done with all its handles and has nothing
> else to do?

Yes.

> so, no need to call curl_multi_perform again for these set of
> multi handles?

Not until you add new easy handles.

> I also find that if I call curl_multi_info_read(), there is a message, and
> the status is 0.

What status? You mean the 'result' field in the CURLMsg struct? That contains
the specific easy handle's status.

-- 
  / daniel.haxx.se
Received on 2009-08-30