curl-and-python
Re: How to reset cURL handle?
From: Wim Lewis <wiml_at_omnigroup.com>
Date: Wed, 28 Aug 2013 18:06:22 -0700
Date: Wed, 28 Aug 2013 18:06:22 -0700
On 28 Aug 2013, at 5:50 PM, Vladimir Ch. wrote:
> As a workaround, I created a set of options that I use, and before returning a handle to the pool try to call Curl.unsetopt(). Unfortunately, it doesn't work either, I'm getting 'unsetopt() is not supported for this option while unsetting ...'. I'm also getting an error (TypeError, IIRC) when setting some options to None.
>
> So, what do I do? How do you use CurlMulti at all?
I've been simply discarding the old curl handle (after removing it from the multi) and creating a new one.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-08-29