curl-and-python
Re: How to reset cURL handle?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Aug 2013 09:13:14 +0200 (CEST)
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!
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2013-08-29