cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl 7.18.2: Question on CURLMOPT_MAXCONNECTS

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 29 Jun 2008 00:51:37 +0200 (CEST)

On Sat, 28 Jun 2008, Stefan Krause wrote:

> Now things become clearer. I conclude what I have understand: A "connection"
> is an established socket connection (persistent connection) which may be
> re-used. libCurl opens as many connections as it needs for processing all
> easy handles added at a certain time. After an easy handles finishes, its
> connection is closed if the connection cache limit CURLMOPT_MAXCONNECTS is
> reached. Otherwise that connection is added to the cache and is re-used when
> possible. Is that correct ?

100% correctomente!

-- 
  / daniel.haxx.se
Received on 2008-06-29