cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How do I reset a CURL handle?

From: Wei Weng <wweng_at_kencast.com>
Date: Thu, 26 Jun 2003 10:08:56 -0400

On 25/06/03 18:37 -0400, Wei Weng wrote:
> I have a CURL* handle = curl_easy_init(); Then I set some option for
> it with curl_easy_setopt. However it seems to me that the options I
> set for that particular handle is kept inside CURL, that every time if
> I run curl_easy_perform(handle), the old options get run again. How
> can I reset the CURL handle to prevent this from happening?
>
> Thanks
>
>
> Wei
>
But curl_easy_cleanup also shuts down the connection. There might be times
when you just want to change simple parameters on the old connection.

Thanks

Wei

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
Received on 2003-06-26