cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_perform usage & easy handle "reset"

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 Aug 2007 14:10:10 +0200 (CEST)

On Fri, 10 Aug 2007, Davide Pippa wrote:

> I'm using libcurl to do some http transfer, and I'm having some trouble with
> the usage of the curl_multi_perform. I attach a test program to show what's
> happening. I try to download a web page doing a GET request

You need to read up on the details better. Most importantly the
curl_multi_perform() return codes.

Then you can compare your use of the multi interface to the fine example we
provide:

          http://curl.haxx.se/lxr/source/docs/examples/multi-single.c

-- 
   Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-08-10