curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Resetting CURLOPT_PROXY_CAINFO to default

From: Taw via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 10 May 2022 09:55:23 +0000 (UTC)

Hi,
I know that the option CURLOPT_PROXY can be reset to default by using NULL as a parameter.But how can this be achieved with CURLOPT_PROXY_CAINFO? I want to reset it to default, meaning: "system path where libcurl's cacert bundle is assumed to be stored"
My use case is that I have a button in my app: reset proxy values to default, but I don't know how to reset CURLOPT_PROXY_CAINFO.
Thank you

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-10