Search
Items tagged with: curl
tell me, what info/trend/data should I dig up or extract and include in my "state of #curl" talk at curl up in less than two weeks?
Here's the two hour talk I did last year:
youtu.be/1X3IP-pvKTY?si=mGAquf…
The state of curl by Daniel Stenberg - curl up 2024
Daniel talks about curl in 2024. Where are are. How we do.YouTube
I compared #curl today vs curl 8 years ago on malloc count + memory use to download a single 512MB file over cleartext HTTP:
129 mallocs, which is exactly the same.
Maximum allocated now: 135566. 17,681 bytes *less* than eight years ago.
Not everything has to go bloat over time I suppose.
And here's the old blog post: daniel.haxx.se/blog/2017/04/22…
Fewer mallocs in curl
Today I landed yet another small change to libcurl internals that further reduces the number of small mallocs we do.daniel.haxx.se
Clarify that CURLOPT_ERRORBUFFER buffer is read only after curl gains ownership of it by MaxEliaserAWS · Pull Request #17105 · curl/curl
Here is a documentation patch clarifying libcurl's guarantees with regards to the CURLOPT_ERRORBUFFER buffer. See #17100. Tested make -C docs.GitHub
One year anniversary for the #curl pillow "curl is just the hobby"
daniel.haxx.se/blog/2024/04/22…
curl is just the hobby
Jan Gampe took things to the next level by actually making this cross-stitch out of the pattern I previously posted online. The flowers really gave it an extra level of charm I think.daniel.haxx.se
websocket: add option to disable auto-pong reply by viscruocco · Pull Request #16744 · curl/curl
Rebased #12220 with kind permission of @brimonk. Additionally added some more documentation and explicitly initialized CURLOPT_WS_OPTIONS values to their defaults.GitHub
Every topic I usually blab about here in a single weekend in Prague? That's basically #curl up 2025. Consider yourself invited. Only two weeks away now.
http: In alt-svc negotiation only allow supported HTTP versions by nmeum · Pull Request #17037 · curl/curl
Without this patch, the handling of the alt-svc header added via 279a477 (CC: @icing) in curl-8.13.0 attempts to connect to alternative services via different HTTP versions, even if the target HTTP...GitHub
curl_get_line: handle lines ending on the buffer boundary by cole-h · Pull Request #17036 · curl/curl
Very similar to 9f8bdd0, but affects e.g. netrc file parsing. Suggested-by: Graham Christensen graham@grahamc.com I opted to write a Perl test for this, since I didn't know how dynamic the %HO...GitHub
"Hello Daniel,
I see that libcurl has been used in several scraping builds — I’m hiring for a freelance job that relies on custom session handling and API scraping logic."
Oh dear. I know I talk about getting people to pay for #curl, but I think this is taking it a little too far... 🤠
curl HTTP/3 with OpenSSL 3.5 may be coming you way soon. Tatsuhiro, the maintainer of ngtcp2, did the (unnecessarly) heavy lifting to adapt and I did the comparatively few changes for it in curl.
Once ngtcp2 releases, we can merge that hopefully for the next curl release. If you want to test, see:
github.com/curl/curl/pull/1702…
#curl #http3
ngtcp2+openssl support by icing · Pull Request #17027 · curl/curl
With the new addition of QUIC support and the support in ngtcp2 main branch, make the necessary adjustments in curl to support this combination. add support in configure.ac to detect the feature O...GitHub
Summing up the #curl distro 2025 meet
daniel.haxx.se/blog/2025/04/10…
My kind of meeting.
Summing up the curl distro 2025 meet
On April 10 we ran the curl distro meeting 2025. A, by now, annual open meeting where maintainers from the curl project hang out with curl package maintainers for distros and other people who are interested.daniel.haxx.se
The annual #curl distro meeting happened. Thanks everyone who participated. Good discussions. Excellent feedback. I have some action items.
curl might just get yet a little better as a result of this!
It looks like the #OpenSSL QUIC API might be supported in the coming #ngtcp2 1.12.0 release:
github.com/ngtcp2/ngtcp2/pull/…
This could be exciting for #curl users building with #OpenSSL ...
Add libngtcp2_crypto_ossl, osslclient and osslserver by tatsuhiro-t · Pull Request #1582 · ngtcp2/ngtcp2
Add libngtcp2_crypto_ossl, osslclient and osslserver libngtcp2_crypto_ossl is an ngtcp2 crypto helper library for OpenSSL >= 3.5. If libngtcp2_crypto_ossl is used, an application must make sur...GitHub
MSFT should be tried in the Hague for silently overloading #curl with Invoke-WebRequest in PowerShell. Just tell me cURL isn't installed!
Edit: Thanks! curl.exe *is*, but still, justice for `curl`
docs: fix incorrect shell substitution in docker run example command by jeliasson · Pull Request #16990 · curl/curl
Corrected the volume mount path in the Docker run example by replacing (pwd) with the shell substitution syntax $(pwd). This ensures the current working directory is properly mounted into the conta...GitHub
Reminder: we do the #curl distro meeting 2025 this Thursday!
github.com/curl/curl/wiki/curl…
curl distro discussion 2025
A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP...GitHub
The blog post from yday brought back this question: why aren't we using C99 in #curl? Here's my past response:
daniel.haxx.se/blog/2022/11/17…
Considering C99 for curl
tldr: we stick to C89 for now. The curl project builds on foundations that started in late 1996 with the tool named httpget.daniel.haxx.se
Remember, if you just take this day as a weekend, your #curl rewrite could be finished
(from the collection at daniel.haxx.se/blog/2021/05/20…)
“I could rewrite curl”
Collected quotes and snippets from people publicly sneezing off or belittling what curl is, explaining how easy it would be to make a replacement in no time with no effort or generally not being very helpful. These are statements made seriously.daniel.haxx.se
Writing C for #curl
daniel.haxx.se/blog/2025/04/07…
Writing C for curl
It is a somewhat common question to me: how do we write C in curl to make it safe and secure for billions of installations? Some precautions we take and decisions we make. There is no silver bullet, just guidelines.daniel.haxx.se
It's been six years now since #curl dropped support for HTTP/1 pipelining.
daniel.haxx.se/blog/2019/04/06…
I have never regretted it.
curl says bye bye to pipelining
HTTP/1.1 Pipelining is the protocol feature where the client sends off a second HTTP/1.1 request already before the answer to the previous request has arrived (completely) from the server. It is defined in the original HTTP/1.daniel.haxx.se
The #curl repository now contains more than 100,000 lines of documentation.
100,002 lines to be exact. 😁
http_aws_sigv4: add additional verbose log statements to sigv4 calculation by nbaws · Pull Request #16952 · curl/curl
To use curl as a tool for troubleshooting SigV4 signing, it is useful to have the 'Canonical Request', 'String To Sign' and 'Signature' calculations output. This trivial pat...GitHub
You maintain a 5,000+ line configure.ac file? Holy fuck. You poor man.
Folks, please help this guy get the therapy he needs:
#curl's configure script has 75(!) different --disable options to disable specific things in the build.
That's 37778931862957161709568 build combinations only there. Tricky to test.
I'll speak at Joy of Coding in Rotterdam in June: joyofcoding.org/speakers.html
I'll bring #curl stickers. It could be fun!
Joy of Coding 2025 - June 27, 2025
A one-day conference that celebrates the art, craft, science but foremost the joy of software developmentjoyofcoding.org
amusing stat: in #curl 8.13.0 we have "surviving" code lines from 622 authors. (who has at least one production code line with their name in git blame)
That's 11 *fewer* than in the previous release.
In fact, we peaked at 636 unique authors in version 8.10.1 and it has gone down since.
No, I don't have any conclusion to make based on this. It's just variations over time.