cURL / Mailing Lists / curl-library / Single Mail


Re: curl_multi_info_read()

From: Daniel Stenberg <>
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)) ==
> {
> }

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

     Daniel Stenberg -- --
      Dedicated custom curl help for hire:
Received on 2004-06-02