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: Minimizing buffering

From: Peter Krefting via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 16 Feb 2026 15:03:39 +0100

2026-02-16 14:10 skrev Stefan Eissing via curl-library:

> libcurl does not buffer TLS records. It seems more likely that the
> buffering happens at the server. You should see this easily in
> wireshark when you look at the TLS records sent by the server. Use
> SSLKEYLOGFILE environment variable when invoking curl and provide that
> file to Wireshark for decryption.

Thanks.

That nudged me in the right direction. I was assuming the buffering was
on the incoming data through libcurl, whereas the buffering seems to be
happening on the other end, in the process I am forwarding the data
towards.

-- 
\\// Peter - http://www.softwolves.pp.se/
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-02-16