cURL / Mailing Lists / curl-library / Single Mail

curl-library

removing a set option (curl_easy_setopt) once it has been set

From: JonathonS <thejunkjon_at_gmail.com>
Date: Mon, 12 Mar 2012 07:25:52 -0700

Hi!

Is there a way to remove an option once it has been set with
curl_easy_setopt? I've read the curl_easy_setop document, and it
doesn't describe a way. I've set a URL and the CA file using
curl_easy_setopt. If my connection fails for some reason, I'd like
to change the URL and inform libcurl to no longer use that CA file
(CURLOPT_CAINFO).

thanks,
J
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-12