Today I discovered GNU's #libmicrohttpd. I guess with my mediocre C skills I shouldn't use this for anything facing the web. However, using it for a internal test script that only tells me whether I connected via IPv6 or IPv4 is fun.
--- ./src/microhttpd/connection.c 2021-02-06 10:39:20.630410269 +0500
+++ ./src/microhttpd/connection.c 2021-02-06 14:15:02.148711030 +0500
@@ -4539,7 +4539,7 @@
{
/* response was queued "early", refuse to read body / footers or
further requests! */
- connection->read_closed = true;
+ //connection->read_closed = true; /* fix for HTTP/1.1 connection reuse
connection->state = MHD_CONNECTION_FOOTERS_RECEIVED;
connection->remaining_upload_size = 0;
}
Nouvelles versions logicielles du projet GNU avril et mai 2017 https://linuxfr.org/news/nouvelles-versions-logicielles-du-projet-gnu-avril-et-mai-2017 #libcdio-paranoia #libmicrohttpd #linux-libre #diffutils #freedink #orgadoc #artanis #libidn2 #global #gnubik #gnutls #icecat #ocrad #gnupg #emacs #grub2 #guile #nano #kawa #acct #less #emms #grub #gnu #gcc #bc