man7.org > Linux > man-pages| www.man7.org
WebSocket has been supported by curl as a non-experimental feature since version 8.11.0 (November 6 2024). With the upcoming release of version 8.16.0, we are taking it a step further. With that release, you can use WebSocket in a pipe from the command line. Like this: > curl --no-progress-meter -T . -N wss://echo.websocket.org/ Request served by 4d896d95b55478dsadsa Hello! Hello! you just echo what I send? you just echo what I send? ... This command line contacts the “echo” server run by...| Posts on icing's blog
Updated (2025-09-13) see “RIP pthread_cancel Updated (2025-08-22) at the end You probably know about threads and most likely heard of pthreads, but have you ever used pthread_cancel()? Well, I had not before last week and it was a little bit of a journey. What’s the problem? curl (or better libcurl) runs all transfers in the same thread (You can run libcurl in several threads, but that’s a story for another post).| Posts on icing's blog
With mod_md v2.6.0 the Apache ACME in httpd supports the new “ARI” extension. This is described in rfc9773 titled “ACME Renewal Information (ARI) Extension”. What does that mean? An ACME CA, like Let’s Encrypt, can publish an API endpoint where a client can ask it about a certificate renewal. This can be seen in the “directory” of the server. Like this: > curl https://acme-v02.api.letsencrypt.org/directory {"-S7Ve8oLIfo": "https://community.letsencrypt.org/t/adding-random-entrie...| Posts on icing's blog
Let’s talk a bit about CVE-2025-53020, a moderate security vulnerability in Apache httpd that was fixed with the recent release 2.4.64. It was found by security researcher Gal Bar Nahum and reported to the project on June 18th 2025. Gal did real real research, understanding the protocol, reading our code and spotting where a client could pierce through our defenses. What you’d expect from a real security researcher. Not one of the new AI sloppers clogging projects everywhere.| Posts on icing's blog
I posted about adding pthread_cancel use in curl about three weeks ago, we released this in curl 8.16.0 and it blew up right in our faces. Now, with #18540 we are ripping it out again. What happened? short recap pthreads define “Cancelation points”, a list of POSIX functions where a pthread may be cancelled. In addition, there is also a list of functions that may be cancelation points, among those getaddrinfo(). getaddrinfo() is exactly what we are interested in for libcurl. It blocks unt...| icing's blog