Re: System certificate store support in macOS

2025-08-22 Thread Jeroen Ooms via curl-library
On Fri, Aug 22, 2025 at 7:00 AM Ryan Carsten Schmidt via curl-library wrote: > > On Aug 21, 2025, at 16:08, Jeff Mears wrote: > > >  > > With the removal of the SecureTransport backend in libcurl 8.15.0, what is > the path forward for using libcurl on macOS such that certificates in the > syste

Making libcurl work in webassembly

2025-07-30 Thread Jeroen Ooms via curl-library
I wrote a little bit about our experiences of making libcurl work in WebAssembly, perhaps others also find this interesting: https://jeroen.github.io/notes/webassembly-curl/ -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html

How to build curl against Apple LibreSSL

2025-05-29 Thread Jeroen Ooms via curl-library
Perhaps someone else finds this useful: I made some notes and files on how to build curl against the stock LibreSSL and nghttp2 included with MacOS. This way your curl build matches the configuration of the stock curl from MacOS and needs no dependencies: https://github.com/jeroen/apple-libressl-sd

Re: CURLOPT_FOLLOWLOCATION and request body

2025-05-26 Thread Jeroen Ooms via curl-library
On Mon, May 26, 2025 at 10:54 AM Daniel Stenberg via curl-library wrote: > > On Mon, 26 May 2025, jeanchristophe.am...@orange.com wrote: > > > Thanks for the quick reply and the PR Daniel. Just to be crystal clear: does > > it mean that the new request retains the request body when there is no > >

Re: Release candidate 2: curl 8.13.0-rc2

2025-03-23 Thread Jeroen Ooms via curl-library
A Debian user has notified me that this update causes a unit test to fail in the R bindings. I looked into it and this is indeed the case, though it is harmless. The test was checking verbose messages for the presence of "existing connection" when re-using a handle, and seemingly the new version of

Re: Release candidate 1: curl 8.13.0-rc1

2025-03-08 Thread Jeroen Ooms via curl-library
On Sat, Mar 8, 2025 at 7:19 PM Samuel Henrique via curl-library wrote: > > Hello everyone, > > On Sat, 8 Mar 2025 at 09:27, Daniel Stenberg via curl-library > wrote: > > > > Hello friends! > > > > Welcome to the first 8.13.0 release candidate: rc1. > > Uploaded to Debian experimental as "8.13.0~

Re: How to dry-run a http request

2025-02-17 Thread Jeroen Ooms via curl-library
On Sat, Feb 15, 2025 at 8:59 PM Dan Fandrich via curl-library wrote: > > On Sat, Feb 15, 2025 at 08:48:48PM +0100, Jeroen Ooms wrote: > > The difficult part is that I need a callback function for the moment > > where libcurl is done uploading (When curlopt_verbose says "Request > > There has been

Re: How to dry-run a http request

2025-02-15 Thread Jeroen Ooms via curl-library
On Sat, Feb 15, 2025 at 5:17 PM Dan Fandrich via curl-library wrote: > > On Sat, Feb 15, 2025 at 04:21:04PM +0100, Jeroen Ooms via curl-library wrote: > > For the R bindings, we have a popular debugging mode to 'dry-run' a > > http request. By this we mean that th

How to dry-run a http request

2025-02-15 Thread Jeroen Ooms via curl-library
For the R bindings, we have a popular debugging mode to 'dry-run' a http request. By this we mean that the user builds and performs a http-request in the regular way, but instead of actually connecting to the requested host, we trick libcurl to make the http request to a local server, which records

Re: LibreOffice uses SChannel and SecureTransport, please don't remove them

2025-01-16 Thread Jeroen Ooms via curl-library
On Thu, Jan 16, 2025 at 9:34 PM Ryan Carsten Schmidt via curl-library < curl-library@lists.haxx.se> wrote: > On Jan 16, 2025, at 07:26, Brad King wrote: > > Apple provides libcurl headers and libraries as part of the official > macOS SDK. > > Applications can link to the system curl on macOS. It i

Re: Regressions and a patch release proposal

2024-11-09 Thread Jeroen Ooms via curl-library
On Fri, Nov 8, 2024 at 8:07 AM Christian Schmitz via curl-library wrote: > > > > > On 8. Nov 2024, at 01:00, Daniel Stenberg via curl-library > > wrote: > > > > Hello, > > > > After the 8.11.0 release earlier this week several regressions have been > > reported. Some of them rather annoying for

Callback after http request has been submitted

2023-12-07 Thread Jeroen Ooms via curl-library
I am looking for a way in libcurl to trigger a callback once, after a http request has been completely submitted (including upload if any), but before the server has responded. So basically when we have done our job, and we are waiting for a (potentially slow) http request to return a response stat

Re: Default to CURLSSLOPT_NATIVE_CA for curl --without-ca-bundle ?

2023-10-18 Thread Jeroen Ooms via curl-library
On Wed, Oct 18, 2023 at 10:38 AM Daniel Stenberg wrote: > > On Tue, 17 Oct 2023, Jeroen Ooms wrote: > > > To me the situation seems a bit less edge-case than you portray it; on a lot > > of systems there may not be a CA pem bundle, hence using the system certs > > seems like a sensible default to

Re: Default to CURLSSLOPT_NATIVE_CA for curl --without-ca-bundle ?

2023-10-17 Thread Jeroen Ooms via curl-library
On Tue, Oct 17, 2023 at 4:02 PM Daniel Stenberg wrote: > > On Tue, 17 Oct 2023, Jeroen Ooms via curl-library wrote: > > > Perhaps it makes sense to enable CURLSSLOPT_NATIVE_CA by default for curl > > builds --without-ca-bundle? At least on Windows I think that makes sense >

Default to CURLSSLOPT_NATIVE_CA for curl --without-ca-bundle ?

2023-10-17 Thread Jeroen Ooms via curl-library
We build the R bindings on Windows with both schannel and openssl. But we don't ship any CA bundle, so the openssl back-end only works once we enable CURLSSLOPT_NATIVE_CA. Sometimes we need to debug something using the curl command line utility with the same settings. This is a bit tricky because

Re: Getting a list of easy handles in a multi handle - possible?

2023-08-26 Thread Jeroen Ooms via curl-library
On Sat, Aug 26, 2023 at 8:27 PM Daniel Stenberg via curl-library wrote: > > On Sat, 26 Aug 2023, Richard W.M. Jones via curl-library wrote: > > > It seems like the multi "knows" what easy handles it contains already > > (multi->easyp), so we shouldn't have to maintain this list ourselves. > > Howe

Re: excessive amount of output produced by `curl -v` for a TLSv1.3 connection

2023-03-29 Thread Jeroen Ooms via curl-library
On Wed, Mar 29, 2023 at 9:37 AM Kamil Dudka via curl-library wrote: > > `curl -v` started to print an excessive amount of output for a TLSv1.3 > connection. Is it really useful to get two lines of verbose output for > each chunk of data (sometimes 1B) transferred over a TLS connection? Depending

Re: Total http/2 concurrency for multiplexed multi-handle

2023-02-10 Thread Jeroen Ooms via curl-library
On Thu, Feb 9, 2023 at 1:31 PM Daniel Stenberg wrote: > > On Thu, 9 Feb 2023, Jeroen Ooms wrote: > > > OK, I had expected multiplexing to replace the need for > > multi-connections. > > It does up to the point where the connection is "full" of streams and you ask > for even more transfers. Then li

Re: Total http/2 concurrency for multiplexed multi-handle

2023-02-09 Thread Jeroen Ooms via curl-library
On Thu, Feb 9, 2023 at 9:31 AM Daniel Stenberg wrote: > > On Wed, 8 Feb 2023, Jeroen Ooms via curl-library wrote: > > > HTTP/2 stream 20139 was not closed cleanly before end of the underlying > > stream > > > > So either they introduced a server bug,

Total http/2 concurrency for multiplexed multi-handle

2023-02-08 Thread Jeroen Ooms via curl-library
I have a CRON job scraping some content from GitHub every night (about 20k small files). It worked well for a year, but recently something changed such that after a few minutes GitHub stars giving a lot of 403 and then after another minute I start getting thousands of these: HTTP/2 stream 20135 wa

Is CURLSSLOPT_NATIVE_CA still experimental?

2023-01-05 Thread Jeroen Ooms via curl-library
Hello, I maintain the R bindings, which are used by a lot of Windows users inside corporate/academic networks. A few years ago, we switched the default-ssl-backend on Windows from openssl to schannel. The main motivation was that many corporate networks use custom SSL certificates which are store

Re: libcurl users on Windows?

2021-11-19 Thread Jeroen Ooms via curl-library
On Thu, Nov 18, 2021 at 2:04 PM Daniel Stenberg via curl-library wrote: > > Hello, > > We have this blank section [*] in "everything curl" that is *supposed* to help > users learn how to get libcurl for Windows (as an alterantive to building it > yourself from source). > > Can I please get input o