cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Max number of handles

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jan 2008 13:27:49 +0100 (CET)

On Wed, 30 Jan 2008, Raquel Vieira wrote:

> Is there a maximum number of handles (in easy interface) that can be open at
> the same time?

Are you asking for the amount of handles that a single CURL * handle can
"hold" ?

If so, that's entirely depending on how large connection cache you're
allowing.

> I suppose that the value CURLOPT_MAXCONNECTS is the maximum number of
> connections in cache for the same handle, isn't it?

Exactly, and libcurl might use a few more than that for other stuff.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-30