On Mon, 5 Nov 2012, huancong deng wrote:

in one progress , can i have two or more multi_handle????

You can have as many multi handles as you like. curl_multi_perform() and the others only operate on a single handle, but there's nothing that prevents you from serially invoking that function on a number of handles or even using threads.

Using multiple multi handles in a single thread will most probably not be a smart thing though since lots of caches are kept per multi handle and thus benefits from as many easy handles as possible using the same multi handle.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to