cURL / Mailing Lists / curl-library / Single Mail


Re: one connection to get them all ?

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

On Wed, 20 Jun 2007, 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

> (i know it's a nweebie issue)

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

  Commercial curl and libcurl Technical Support:
Received on 2007-06-20