cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: one connection to get them all ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jun 2007 10:44:31 +0200 (CEST)

On Wed, 20 Jun 2007, roger21_at_free.fr wrote:

> i don't understand why my program still use several connections to retrieve
> some files. i use one easy handle, i put the easy perform in a loop and i
> still got several connections...

Then libcurl will try to re-use the connection as far as possible. The
CURLOPT_VERBOSE output should offer some clues. And of course the HTTP headers
etc.

> (i know it's a nweebie issue)

I actually don't think it is... :-)

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