curl / Mailing Lists / curl-library / Single Mail
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

From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 12 Dec 2024 14:52:03 +0100 (CET)

On Sun, 8 Dec 2024, Scott Talbert wrote:

>> Why do this in libcurl when you can with less effort do that logic in your
>> application? Then you can make it work exactly the way you want it to,
>> without having to care about others.
>
> Calling pycurl an application is a bit of a stretch, but I suppose from
> libcurl's perspective, everything is an application. :)

Yeah. I suppose I should have said "in your code using libcurl".

> 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... :-)

-- 
  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-12-12