cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connection re-use amongst easies

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 May 2009 13:01:06 +0200 (CEST)

On Thu, 28 May 2009, junk_at_igrspace.com wrote:

> is libcurl supposed to re-use connections over different easy handles ?
> (when using multi interface) In other words, are connections preserved by
> the multi-handle after cleanup of the easy handle ?

Yes, that's exactly how it works. Although I should add that this was changed
a few years back so very old libcurls didn't do it like this, they then had a
separate connection cache in each easy handle.

-- 
  / daniel.haxx.se
Received on 2009-05-28