cURL / Mailing Lists / curl-library / Single Mail


Re: one progress only on multi_handle?

From: Daniel Stenberg <>
Date: Mon, 5 Nov 2012 13:21:16 +0100 (CET)

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

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.

List admin:
Received on 2012-11-05