cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_info_read()

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 2 Jun 2004 10:53:33 +0200 (CEST)

On Tue, 1 Jun 2004, Andy Hobbs wrote:

> // run the http requests
> while ((result = curl_multi_perform(multiHandle, stillRunning)) ==
> CURLM_CALL_MULTI_PERFORM)
> {
> }

This loop will not complete a download in most normal cases. If you check the
documentation and/or the examples, you'll find more sensible ways to use the
multi interface to download a file.

And, since the download was not complete, it is no surprise you didn't get any
error code back from the transfer, as that is only provided at the end of a
transfer.

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