curl-and-python
Re: How to reset cURL handle?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Sep 2013 20:51:26 +0200 (CEST)
Date: Thu, 12 Sep 2013 20:51:26 +0200 (CEST)
On Wed, 11 Sep 2013, Wim Lewis wrote:
> That's good to know! Maybe the libcurl(3) manpage should be updated to
> reflect this--- currently it sort of implies the opposite:
>
>> To allow libcurl to take full advantage of persistent connections, you
>> should do as many of your file transfers as possible using the same curl
>> handle. When you call curl_easy_cleanup(3), all the possibly open
>> connections held by libcurl will be closed and forgotten.
A good idea. I pushed an update to the docs earlier today so I hope it is
slightly less confusing now!
-- / daniel.haxx.se _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2013-09-12