Re: How to reset cURL handle?

From: Daniel Stenberg <>
Date: Thu, 29 Aug 2013 09:13:14 +0200 (CEST)

On Wed, 28 Aug 2013, Vladimir Ch. wrote:

>> I've been simply discarding the old curl handle (after removing it from the
>> multi) and creating a new one.

> I want to take advantage of connection reuse.

libcurl holds the connection cache within the multi handle, so you won't lose
the ability to do connection re-use even if you close and re-create easy
handles between transfers!

Received on 2013-08-29