Buy commercial curl support. 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 Daniel himself.
Re: Building libcurl for multiple Linuxes / CA store
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Scott Talbert via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 12 Dec 2024 09:10:22 -0500 (EST)
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
Date: Thu, 12 Dec 2024 09:10:22 -0500 (EST)
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.htmlReceived on 2024-12-12