cURL / Mailing Lists / curl-library / Single Mail


Re: Persistent connections with libCurl

From: Daniel Stenberg <>
Date: Wed, 28 Apr 2010 20:05:35 +0200 (CEST)

On Wed, 28 Apr 2010, Rahul R wrote:

> We have multiple threads writing lots of data to a host. Hence, i would
> prefer using multiple handles.If i use a single handle, the other threads
> will have wait until the one using it frees it up.

Yes, unless you use the multi interface.

> But even with multiple handles, i will be able to achieve persistent
> connections, right ?

Each handle works that way. If you have multiple ones at the same time, they
all will work that way but independently of each other.

List admin:
Received on 2010-04-28