cURL / Mailing Lists / curl-library / Single Mail


Re: asynchronous transfer doesn't start

From: Daniel Stenberg <>
Date: Wed, 10 Oct 2012 22:52:32 +0200 (CEST)

On Wed, 10 Oct 2012, Lisa Vitolo wrote:

> I'm surely doing something wrong but from the tutorial and the example codes
> I cannot find out what.

Really? REALLY?

> CURLM* multiHandle = curl_multi_init();
> curl_multi_add_handle(multiHandle, handle);
> curl_multi_perform(multiHandle, &progress);
> while (1);

There's no code snippet in any example we provide that looks like this. You
need to keep calling curl_multi_perform() until the transfer is completed. See
the documentation:


  curl_multi_perform details at

  Example showing a download of a single file with the multi interface:

List admin:
Received on 2012-10-10