cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: regading curl_multi_add_handle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Aug 2006 09:17:26 +0200 (CEST)

On Wed, 9 Aug 2006, kuriakose wrote:

> I wanted to know how many handles we can add using curl_multi_add_handle (
> which limits the no of files that can be downloaded at a time).

libcurl has no limit for this. Just be aware that most systems have a 1024
file limit and so does select(). If you just tread carefully you can easily
work around those and add lots of more handles.

I've personally used 9000 handles successfully... And I'm working on
curl_multi_socket() as an improved replacement for just that kind of
use-cases.

> Also does libcurl support sftp.

Nope. I know someone worked on a first shot at incorporating libssh2 support,
and I've personally been keen at doing it, but so far nothing of that kind has
been added.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-09