On Thu, 12 Dec 2024, Daniel Stenberg wrote:

Initially, I wasn't thinking it would be possible to do runtime CA bundle auto-detection in a way that's transparent to end users of pycurl, but after looking at how libcurl handles CURL_CA_BUNDLE (it seems to ultimately do what setting CURLOPT_CAINFO does), I think it should be fine for pycurl to set CURLOPT_CAINFO before handing over the handle to the end user.

What code in libcurl does this in runtime? I can't find any such code. I think you might look at code in the curl tool, which incidentally is an application using libcurl... :-)

https://github.com/curl/curl/blob/master/lib/url.c#L438

Regards,
Scott
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to