cURL / Mailing Lists / curl-library / Single Mail


Re: how many curl handles application can have at a time

From: Jerry G. Chiuan <>
Date: Wed, 25 Feb 2004 10:14:12 -0800

> > is there limit for number of curl handles application can have at a
> No. At least libcurl doesn't impose any limits. Your operating system
> though. Since libcurl uses at least one (up to several) sockets, you might
> out of allowed number of sockets when use extreme amounts of handles.
> > each handle is associated with one tcp/ip connection?
> If you only do one single HTTP request, then yes. If you use FTP, then it
> two. And if you use multiple requests, libcurl will keep the last N ones
> in its connection cache, where N is default set to 5.

Hi Daniel,
so how can we change this N?

thanks a lot
- Jerry
Received on 2004-02-25