cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: regading curl_multi_add_handle

From: kuriakose <kuriakose_at_huawei.com>
Date: Wed, 09 Aug 2006 13:01:50 +0530

Thank you for that . Also I think it depends on the server how many
threads it can support. Also 1 thing related to clean up ,
if we use curl_multi_cleanup why should we use curl_easy_cleanup
after that.

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Wednesday, August 09, 2006 12:47 PM
To: kuriakose_at_huawei.com; libcurl development
Subject: Re: regading curl_multi_add_handle

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