From patchwork Mon Apr 26 12:32:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4227 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FTPSp51zgz3yBR for ; Mon, 26 Apr 2021 12:33:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FTPSV6F5Zz6Fv; Mon, 26 Apr 2021 12:33:14 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FTPSV66SDz2yNd; Mon, 26 Apr 2021 12:33:14 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FTPST6HJrz2xXr for ; Mon, 26 Apr 2021 12:33:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FTPSB4QR0z1Sm; Mon, 26 Apr 2021 12:32:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1619440378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fiLtAZ+VKRjRl4HrdiAXtpGIb9tCyv8KYcq+pXpUMY8=; b=qFMQFRUG7nwaXHcdIXSjsTyX8u45LmRx1XGLfXkn/v6V0Iaw4BMiHyNDwSu9FkDWbpYVbx B/XyGyetDqka1DCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1619440378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=fiLtAZ+VKRjRl4HrdiAXtpGIb9tCyv8KYcq+pXpUMY8=; b=ewZa2mZiZWytRQ0s2tW6tMdYZ1DAn2J2wG5pyRA7ay1l6aNrFz7vqiwHXgXIRqWmLoaRmy GXq8PviZU/hitUWUVrbh13yHjdsi6Dd097LXmvBm/6KIFNetUc8j1AinV/RwauWKBj/UkL ZBxX7KReitZzN6SyHOScxY/+SzTYUQsvz1yrbdOOEI/ChF9NHxIaKLOWebYIt3uYQ0pxKB Ey7tX308qsm1xOfRo9BDIo/pDiCXSJES6lrx2UziL4PZUKO6J3NrVg3nHYYNJV+rUSHYvj NGBN+EFBnSUXfqKkFJJSx4Gnd147oc7Ze3AN2+XG5RdRghfBfOCOC8HTk2ZRLQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libmicrohttpd: Update to 0.9.73 Date: Mon, 26 Apr 2021 14:32:55 +0200 Message-Id: <20210426123255.3783646-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 0.9.71 to 0.9.73 - Update rootfile - Changelog Sun 25 Apr 2021 14:00:00 MSK Releasing GNU libmicrohttpd 0.9.73. -EG Sat 24 Apr 2021 23:00:00 MSK Fixed build with Clang and Visual Studio. MSVS project files updated. Enabled bind port autodetection with MSVS builds. -EG Fri 23 Apr 2021 14:27:00 MSK Fixed build without TLS lib. Fixed build without system poll() function. Fixed compiler warnings on 32-bit platforms. Fixed various compiler warnings. -EG Thu 22 Apr 2021 12:32:00 MSK Fixed some typos. Force disable TCP_CORK, TCP_NOPUSH, and TCP_NODELAY before switching connection to "upgraded" mode. Improved portability of the test-suite for upgraded connections. -EG Tue 20 Apr 2021 17:11:00 MSK Disabled NLS by default in configure. -EG Mon 19 Apr 2021 18:58:00 MSK Fixed testzzuf/test_put_chanked to correctly use MHD. Added internal error code for TLS errors. Added all missing messages to the .pot file. Detect more types of errors for receiving data and report error description in the MHD log. Added support for ALPN on TLS connections if supported by used TLS library. -EG Sun 18 Apr 2021 20:47:00 MSK Removed dead code. Limited iov-backed responses size to SSIZE_MAX as limited by system calls. Report error message in MHD log for send errors. -EG Sat 17 Apr 2021 18:50:00 MSK Unified upgrade test behavior for all platforms. Some code simplification and unification. Compiler warning (false positive) fixed. -EG Fri 16 Apr 2021 17:58:00 MSK Used run-time value if IOV_MAX if available. Fixed portability of error handling for sending functions. Detect pipes/unix sockets on fly and do not use TCP/IP specific functions with them. Fixed support of UNIX sockets on non-Linux kernels. -EG Fri 16 Apr 2021 10:23:39 AM CEST Detect if a socket is a UNIX domain socket and do not try to play with TCP corking options in this case (avoids useless failed syscalls). -CG Thu 15 Apr 2021 18:56:00 MSK Fixed configure '--enable-sanitizer' parameter. Stopped pushing of partial responses when limited by system maximum size for sendmsg(). -EG Web 14 Apr 2021 22:20:00 MSK Fixed: use sendmsg() in POSIX-compatible way, do not try to send more than IOV_MAX elements per single call. -EG Sun 11 Apr 2021 15:44:00 MSK Updated test TLS certificates to not expired modern versions, restored HTTPS examples compatibility with modern browsers. TCP_NODELAY is not pre-enabled for HTTPS connection as it actually does not speed-up TLS handshakes on moders OSes. -EG Thu 01 Apr 2021 21:29:46 MSK Fixed MD5 digest authorization broken when compiled without variable length arrays support (notably with MSVC). Fixed and muted compiler warning. Deeper test with zzuf if configured with --enable-heavy-tests. Removed run-check of assert() in configure to avoid core dumps. -EG Thu 01 Apr 2021 17:46:00 MSK Added new function MHD_run_wait() useful for single-threaded applications without other network activity. Added tests for the new function. -EG Wed 17 Mar 2021 20:53:33 MSK Re-factored startup log parameters processing. Warn user if wrong logger could be used potentially. Added headers doxy with information about minimal MHD version when particular symbols were introduced. Added new daemon option to indicate SIGPIPE handling by application for daemons being run in application thread. -EG Wed 24 Feb 2021 19:23:00 MSK SIGPIPE-related macro minor refactoring for readability. Added new response iov function (and related framework), based on the patch provided by Lawrence Sebald and Damon N. Earp from NASA. -EG Thu 04 Feb 2021 06:41:34 PM CET Fix PostProcessor to always properly stop iteration when application callback tells it to do so. -CG Sun 24 Jan 2021 21:30:00 MSK Added '--enable-heavy-tests' configure parameter. Minor configure.ac and Makefiles fixes. -EG Tue 19 Jan 2021 17:59:00 MSK Fixed compatibility with autoconf. 2.70 Updated M4 macros. -EG Wed 06 Jan 2021 08:39:58 PM CET Return timeout of zero also for connections awaiting cleanup. -CG Tue 29 Dec 2020 15:39:00 MSK Improved speed of TLS handshake by pre-enabling TCP_NODELAY. -EG Mon 28 Dec 2020 21:36:00 MSK Releasing libmicrohttpd 0.9.72. -EG Mon 28 Dec 2020 09:37:00 MSK Completely reworked and rewritten TCP_CORK, TCP_NOPUSH, TCP_NODELAY and MSG_MORE handling. Reduced number of sys-calls, fixed portability for FreeBSD, OpenBSD, NetBSD, Darwin, W32, Solaris. Removed usage of gnutls_record_cork() as it fully blocks stream until final block is ready. Fixed compatibility with C90 compilers. Really started using sendmsg() for header + body combined single-call response sending. Fixed sending of response body by sendmsg() when it shouldn't be sent, like responses for HEAD requests. Improved error handling for gnutls_record_send(). Updated W32 resources for .DLLs. Fixed building with various disabled features (like messages, HTTPS, http-upgrade, authorization etc.) Fixed possible SIGPIPE generation when sendfile() is used (it was always possible on Linux that sendfile() produce SIGPIPE, now it's fixed). Several compiler warnings muted and/or fixed in the lib code and in the examples. -EG Sun 01 Nov 2020 17:17:00 MSK Fixed conflict with system CPU_COUNT macro. Minor improvements of error reporting in MHD daemon. Fixed FTBFS with GnuTLS versions before 3.1.9 Fixed test_add_conn for multi-CPU machines. Fixed analyzer warnings. Fixed use-after-free and resources leaks for upgraded connections in TLS mode with thread-per-connection. -EG Sun 25 Oct 2020 19:31:00 MSK Fixed epoll mode without listening socket. Minor improvements of thread sync. Fixed broken sendfile on FreeBSD. Fixed broken MHD with thread-pool and without listening socket. Added four tests for MHD_add_connection(). Fixed several resources leaks in error handlers. Re-implemented scheme of handling of externally added connections, fixed thread-safety. -EG Wed 21 Oct 2020 10:00:58 AM CEST Corking should be OFF when sending the footer (#6610). -AP/CG Wed 07 Oct 2020 11:07:00 MSK W32 default target version changed to Vista, XP is still supported. Minor fixes and additional asserts for memorypool. IPv6 tests are not used if IPv6 is disabled at run-time. -EG Sun 27 Sep 2020 10:08:03 PM CEST Fixed incorrect triggering of epoll edge polling for "upgraded" TLS connections. Fixed a few cases where gnutls_record_uncork() return value was still ignored, possibly causing buffer to not be flushed correctly. -CG Sat 26 Sep 2020 08:18:02 PM CEST Make MHD_USE_NO_LISTEN_SOCKET work in conjunction with MHD internal threads. -CG/DE Thu 24 Sep 2020 16:55:00 MSK Fixed compiler warnings on W32. Minor optimisation of MHD_YES/MHD_NO internal usage. Refactor and cleanup of internal debugging macros. Updated HTTP status codes, header names and methods from the registries. Fixed portability of test_upgrade_large. Minor testsuite fixes. Restored parallel build of libmicrohttpd (except tests). -EG Fri 11 Sep 2020 10:08:22 PM CEST Fix crash problem in PostProcessor reported by MD. -CG Fix GnuTLS configure test to check for gnutls_record_uncork. -CG Wed 19 Aug 2020 09:40:39 AM CEST Add logic to check on MHD_pool_reallocate() failure reported on the mailinglist (will NOT yet fix the issue). -CG Sun 26 Jul 2020 01:56:54 PM CEST Add MHD_create_response_from_pipe() to allow creating a response based on data read from a pipe. -CG Fri Jul 10 15:04:51 CEST 2020 Fixed Postprocessor URL-encoded parsing if '%' fell on boundary. -CG/MD Thu 02 Jul 2020 09:56:23 PM CEST Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG Signed-off-by: Adolf Belka --- config/rootfiles/packages/libmicrohttpd | 2 +- lfs/libmicrohttpd | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/packages/libmicrohttpd b/config/rootfiles/packages/libmicrohttpd index ee7ddf567..62717ed94 100644 --- a/config/rootfiles/packages/libmicrohttpd +++ b/config/rootfiles/packages/libmicrohttpd @@ -2,5 +2,5 @@ #usr/lib/libmicrohttpd.la #usr/lib/libmicrohttpd.so usr/lib/libmicrohttpd.so.12 -usr/lib/libmicrohttpd.so.12.56.0 +usr/lib/libmicrohttpd.so.12.58.0 #usr/lib/pkgconfig/libmicrohttpd.pc diff --git a/lfs/libmicrohttpd b/lfs/libmicrohttpd index 9e06fbf42..8c1cecd89 100644 --- a/lfs/libmicrohttpd +++ b/lfs/libmicrohttpd @@ -24,7 +24,7 @@ include Config -VER = 0.9.71 +VER = 0.9.73 THISAPP = libmicrohttpd-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libmicrohttpd -PAK_VER = 2 +PAK_VER = 3 DEPS = @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = c7e230e9b899282b43d9a9faa41e893d +$(DL_FILE)_MD5 = 2b15949b1633e4fa487e08cdcc97f0e3 install : $(TARGET)