NEWS (19467B)
1 Thu Nov 19 11:50:38 PM CET 2026 2 Released GNU libmicrohttpd 1.0.11. 3 4 This is a bugfix release, fixing a minor bug 5 and improving performance, cutting get_req_headers() 6 from ~22 to ~5 instructions per header-byte value 7 (on x86-64). 8 9 -- Christian Grothoff 10 11 Fri Aug 7 10:15:01 PM CEST 2026 12 Released GNU libmicrohttpd 1.0.10. 13 14 This is a bugfix release, fixing minor bugs 15 and expanding the test suite. 16 17 -- Christian Grothoff 18 19 Thu Jul 30 05:34:18 PM CEST 2026 20 Released GNU libmicrohttpd 1.0.9. 21 22 This is a bugfix release, fixing minor vulnerabilities 23 and expanding the test suite. 24 25 -- Christian Grothoff 26 27 Tue Jul 28 06:13:26 PM CEST 2026 28 Released GNU libmicrohttpd 1.0.8. 29 30 This is a bugfix release, fixing minor security vulnerabilities 31 and expanding the test suite. 32 33 -- Christian Grothoff 34 35 Mon Jul 27 06:13:26 PM CEST 2026 36 Released GNU libmicrohttpd 1.0.7. 37 38 This is a bugfix release, fixing modest security vulnerabilities 39 discovered by A. Ramos. 40 41 -- Christian Grothoff 42 43 Wed Jul 8 12:47:35 PM CEST 2026 44 Released GNU libmicrohttpd 1.0.6. 45 46 This is a bugfix release, fixing minor bugs mostly in error handling, 47 theoretical integer overflows, and rare memory leaks. 48 49 -- Christian Grothoff 50 51 Thu Apr 16 10:36:54 AM CEST 2026 52 Released GNU libmicrohttpd 1.0.5. 53 54 This is a bugfix release. 55 It fixes a additional HTTP request smuggling issues (CWE-444). 56 57 -- Christian Grothoff 58 59 Mon Apr 13 11:42:06 AM CEST 2026 60 Released GNU libmicrohttpd 1.0.4. 61 62 This is a bugfix release. 63 It fixes a minor HTTP request smuggling issue (CWE-444). 64 65 -- Christian Grothoff 66 67 Thu Apr 2 12:16:28 AM CEST 2026 68 Released GNU libmicrohttpd 1.0.3. 69 70 This is a bugfix release. 71 It primarily fixes a list traversal issue that could 72 cause connection handling issues when other connections 73 were suspended. 74 75 -- Christian Grothoff 76 77 Mon Jul 14 2025 05:03:07 PM CEST 78 Released GNU libmicrohttpd 1.0.2. 79 80 This is a bugfix release. 81 It primarily fixes a double-close() bug on bind() errors. 82 83 -- Christian Grothoff 84 85 Fri 23 Feb 2024 21:00:00 UZT 86 Released GNU libmicrohttpd 1.0.1. 87 88 This is a correction release. 89 This release mainly fixes and improves builds with non-default configure 90 parameters. 91 92 -- Evgeny Grin (Karlson2k) 93 94 Thu 01 Feb 2024 15:00:00 CET 95 Released GNU libmicrohttpd 1.0.0. 96 97 This is the first non-bugfix release since version 0.9.75 and the first 98 ever stable release of GNU libmicrohttpd. It is a huge one with new 99 features and fixes. 100 101 The major changes: 102 * Rewritten parsing of clients' requests, fully aligned with current 103 RFCs (9110 and 9112) requirements. Added detailed control of strict 104 or lenient specification enforcement. Application may choose between 105 more compatible mode or more strict and secure mode. 106 * Reworked Digest Auth, greater enhanced support for current RFC 7617 107 features. MHD currently is the only known server-side implementation 108 with support for SHA-512/256, userhash and username in extended 109 notation. At the same time the very old RFC2069 is supported, as 110 well as MD5 and SHA-256. 111 * Improved functionality in multi-threading environment, especially with 112 external sockets polling modes. 113 * Reworked Basic Auth, adding new convenient API functions. 114 * Re-implemented GnuTLS initialisation. Now supported 115 libmicrohttpd-specific system-wide configuration, as well as generic 116 GnuTLS system-wide configuration. Application may adjust settings based 117 on system configuration instead of specifying its own full 118 configuration. 119 * Tons of other new functionality and various fixes. For detailed changes 120 see the ChangeLog or Git commit logs. 121 122 123 Since last non-bugfix release there are 1062 commits added with 124 67007 lines insertions and 26616 deletions. 125 126 -- Evgeny Grin (Karlson2k) 127 128 Sun 28 May 2023 18:00:00 MSK 129 Released GNU libmicrohttpd 0.9.77. 130 131 This is mostly a bugfix release. 132 This version created by taking patches from the current development 133 branch and back-porting them on top of version 0.9.76. 134 The most notable changes are: some improvements for Digest and Basic 135 authorizations, fixed efficiency for TLS upgraded connections, fixed 136 processing of folded headers in requests, fixed functionality with 137 blocking sockets, improved and fixed internal test-suite. 138 139 The more detailed list of the important changes: 140 141 API changes: 142 + Added new function MHD_get_version_bin(). 143 144 Improvements and enhancements: 145 * Digest Auth: changed algorithm identifiers in server generated 146 headers from "md5" / "sha-256" to "MD5" / "SHA-256" to better match 147 RFC (while clients should use caseless matching). 148 * Improved Base64 decoding by new implementation with robust input 149 data validation checks. 150 * Improved configure for cross-compiling, for better compatibility 151 with POSIX and for better compatibility with the latest compiler 152 versions. 153 * New internal tests: for Base64 decoding, Basic Auth and folded 154 headers. 155 * Supported new libcurl API in tests to mute deprecation warnings. 156 * Supported ARM and ARM64 for VC compilers. 157 158 Functionality changes: 159 * any negative number returned by response data generation callback 160 function is treated as an error. Previously negative values except 161 predefined error codes could produce undefined behaviour. 162 * Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG". 163 164 Fixes: 165 # Fixed functionality with blocking sockets. 166 # Fixed very inefficient data pumping for upgraded TLS connections. 167 # Fixed processing of folded headers in the requests. 168 # Fixed data races when closing upgraded connection. 169 # Removed duplication of "Connection: upgrade" header. 170 # Digest auth: fixed thread sync to avoid "stale hash" results. 171 # Fixed harmless unwanted extra data processing resulting in triggering 172 of the assert. 173 # Fixed tests for LTO. 174 # Removed removed non-portable functions in examples. 175 # Fixed delayed call of connection notification callback in 176 thread-per-connection mode. 177 # Fixed Address Sanitizer unpoison of memory when memory pool is 178 destroyed. This fixed periodic ASAN error when used for a long time 179 with the sanitizer. 180 # Fixed compiler warnings in library code, examples, tests and configure 181 checks. 182 # New TLS certificates for test-suite: all with SAN fields and SHA-256 183 hash. 184 # Tests: fixed tests on Darwin 22.x (Ventura). 185 # Tests: redesigned one tests group to avoid stress-testing of the OS. 186 187 -- Evgeny Grin (Karlson2k) 188 189 Sun 26 Feb 2023 17:49:30 CET 190 Released GNU libmicrohttpd 0.9.76 hotfix. -CG 191 192 This is a hotfix release. 193 This only change since previous release is fixed potential DoS vector 194 in MHD_PostProcessor discovered by Gynvael Coldwind and Dejan 195 Alvadzijevic (CVE-2023-27371). 196 While the researchers have not been able to exploit this attack vector 197 when libmicrohttpd is compiled with the standard GNU C library, it is 198 recommended that you update MHD as soon as possible if your 199 applications are using (optional) MHD_PostProcessor functionality. 200 201 -- Evgeny Grin (Karlson2k) 202 203 Sun 26 Dec 2021 20:30:00 MSK 204 Released GNU libmicrohttpd 0.9.75 -EG 205 206 This is a correction release. 207 The main improvement is the implementation of workaround for some 208 OSes (like OpenBSD 7) where "monotonic" clock may jump back. Now 209 MHD is able to automatically detect such situation and recover if 210 the jump is small. This workaround is needed with increased 211 accuracy of connection timeout introduced in previous version, as 212 with lower accuracy (v0.9.73 and before) these jumpbacks were 213 unnoticeable. 214 Other changes: fixed some compiler, Makefile, and configure 215 warnings on specific platforms; one test further improved. 216 217 -- Evgeny Grin (Karlson2k) 218 219 220 Sun 19 Dec 2021 18:30:00 MSK 221 Released GNU libmicrohttpd 0.9.74 222 223 This release brings a lot of fixes and improvements, and 224 important new features. 225 The most significant addition is the new experimental 226 implementation of WebSockets contributed by David Gausmann. This 227 implementation is not fully tested yet so currently it is disabled 228 by default. 229 Other changes include a lot of improvements and clarifications 230 in doxy comments in microhttpd.h header file, improved compliance 231 with the RFC HTTP specifications, the new implementation of reply 232 header forming, the new implementation of request chunked encoding 233 parsing, new automatic error replies, internal optimisations, and 234 many important fixes, including fixes for long-standing bugs. 235 236 More detailed list of notable changes: 237 238 API changes: 239 + Added new function MHD_get_reason_phrase_len_for(). 240 + Added MHD_CONNECTION_INFO_HTTP_STATUS type of information 241 queried by MHD_get_connection_info(). 242 + Added new response flag MHD_RF_SEND_KEEP_ALIVE_HEADER to force 243 sending of "keep-alive" header even if not required by RFC. 244 + Added new response creation function 245 MHD_create_response_from_buffer_with_free_callback_cls() with 246 custom cleanup callback. 247 + Added new response flag MHD_RF_HTTP_1_0_COMPATIBLE_STRICT with 248 the same functionality as existing MHD_RF_HTTP_VERSION_1_0_ONLY 249 flag. The old flag will be deprecated. 250 + Added new response flag MHD_RF_HTTP_1_0_SERVER with the same 251 functionality as existing MHD_RF_HTTP_VERSION_1_0_RESPONSE flag. 252 The old flag will be deprecated. 253 254 New features: 255 + Added experimental WebSockets extension with separate header. 256 Disabled by default as it is not fully tested yet. 257 + Added '--enable-sanitizers[=address,undefined,leak,user-poison]' 258 configure parameter (instead of '--enable-sanitizer'), 259 implemented custom memory poisoning for memory pools. 260 261 Improvements and enhancements: 262 * Doxy function descriptions was corrected, clarified, extended, 263 and improved. Now it should be much easier to learn MHD just by 264 reading the headers. 265 * Completely rewritten reply header forming. New implementation is 266 more robust, simpler maintainable and expandable, and better 267 follows RFC HTTP specifications. 268 * Performance improvements: now HTTP version and request method are 269 decoded one time only (previously MHD used string comparison many 270 times during processing the data). 271 * Rewritten request chunked payload decoding. The new 272 implementation better conforms to the HTTP RFC, detects format 273 problems earlier, replies to the clients with description of 274 detected problems, handles untypical (but syntactically correct) 275 values properly. 276 * Added special replies for wrong/unsupported HTTP versions in 277 requests, broken HTTP chunked encoding in requests, 278 * As required by HTTP RFC, added automatic error replies if client 279 used broken chunked encoding, too large chunk size, too large 280 payload size, or broken Content-Length header. 281 * Optimized connection's memory pool handling. 282 * Changed timeout precision from one second to one millisecond. 283 * Added some checks for incorrect user data, reporting problems in 284 MHD log. 285 * Improved performance of hash calculations functions by using 286 compiler built-ins (if available). 287 * Implemented SHA-1 calculations (required for WebSockets). 288 * Added universal MSVC project that works with any (sufficiently 289 new) version of MSVC. 290 * Developed simple HTTP client to test MHD under very special 291 conditions. 292 * Implemented 45 new tests. 293 * Improved existing tests to test more aspects of MHD. 294 * Added check for correct results of system and libcurl functions. 295 * Response headers are checked during forming of responses. 296 * HTTPS tests were improved. 297 * Added rebuild on W32 of all required files if files are missing. 298 * Many internal optimisations and improvements. 299 300 Functionality changes: 301 * Keep-alive header is omitted by default for HTTP/1.1 connections. 302 Use of header can be enforced by response flag. 303 * Chunked encoding is used for HTTP/1.1 non-keep-alive connections 304 for responses with unknown size. Previously MHD used "indication 305 of the end of the response by closing connection" in such cases, 306 however it is not correct for HTTP/1.1 connections as per HTTP 307 RFC. 308 * As required by HTTP RFC, use HTTP/1.1 version instead of HTTP/1.0 309 in reply headers when client is HTTP/1.0 . HTTP/1.0 version can 310 be enforced by response flag. 311 * User response headers are used in replies in the same order as 312 was added by application. 313 * Allowed tab characters in response header values. 314 * All custom "Connection:" response headers are automatically 315 combined into single "Connection:" header. 316 * "keep-alive" token silently dropped from custom "Connection:" 317 response header. "Keep-alive" cannot be enforced and used 318 automatically if possible. 319 * Allow tab character in custom response header value. 320 * Disallow space character in custom response header value. 321 * Do not allow responses with 1xx codes for HTTP/1.0 requests. 322 * Detected and reported incorrect "Upgrade" responses. 323 * W32 targets are changed to Vista+ by default. XP is supported 324 still. 325 326 Fixes: 327 # Fixed short busy-waiting (up to one second) when connection is 328 going to be expired and closed. 329 # Fixed handling of errors during start of new connection, fixed 330 inability to accept new connections in thread-per-connection mode 331 due to the missing decrement of number of daemon's connections if 332 start of new thread is failed. 333 # Fixed incorrect parsing of LFLF, LFCR, CRCR, and bare CR as 334 single linefeed in request header and request chunked payload. 335 Now only CRLF or bare LF are recognized as linefeed. 336 # Fixed response chunked encoding handling. Now it works properly 337 with non-keep-alive connection, with fixed size replies (if 338 chunked was enforced by header), and in other situations. 339 # Other fixes for chunked replies. 340 # Fixed handling of custom connection timeout in thread-per- 341 connection mode. 342 # Fixed wrongly used MHD_REQUEST_TERMINATED_COMPLETED_OK code for 343 application notification when MHD_REQUEST_TERMINATED_WITH_ERROR 344 code must be used. 345 # Fixed code MHD_REQUEST_TERMINATED_READ_ERROR not reported (code 346 MHD_REQUEST_TERMINATED_WITH_ERROR was incorrectly used instead). 347 # Fixed handling of request chunked encoding with untypical 348 formatting. 349 # Fixed processing of last part of hex-encoded values under 350 certain conditions. 351 # Fixed value returned for MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE. 352 # Fixed returned value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, 353 now it is MHD_YES as W32 does not need SIGPIPE suppression. 354 # Fixed portability of bitwise NOT for enums values. 355 # Fixed SHA-256 and MD5 calculations with unaligned data. 356 # Fixed incorrect caseless matching for HTTP version. 357 # Fixed incorrect caseless matching for request method. 358 # Fixed compatibility with old GnuTLS versions. 359 # Fixed compiler warnings on 32-bits platforms. 360 # Fixed blocking sockets setting in tests and examples for W32. 361 # Fixed examples to really use libmagic if present. 362 # HTTPS tests were fixed. 363 # Fixed libcurl test with case-insensitive match for HTTP methods, 364 method names must use case-sensitive match. 365 # Fixed tests compatibility with old libcurl versions. 366 # Fixed build on W32 with llvm-dlltool (this tool is too 367 oversimplified) 368 369 -- Evgeny Grin (Karlson2k) 370 371 372 Sun 25 Apr 2021 14:00:00 MSK 373 Released GNU libmicrohttpd 0.9.73 374 375 This release brings new features, improvements, and a few fixes. 376 The most important addition is the new function for vector-backed 377 responses, based on the patch contributed by NASA engineers. 378 Other changes include compatibility with autoconf 2.70+, improved 379 testsuite compatibility with CI systems, fixed and improved MSVC 380 builds, and implementation of ALPN support. 381 382 More detailed list of notable changes: 383 384 API changes: 385 + Added new function MHD_create_response_from_iovec(), based on the 386 patch provided by Lawrence Sebald and Damon N. Earp from NASA. 387 + Added MHD_OPTION_SIGPIPE_HANDLED_BY_APP daemon option. 388 + Added new function MHD_run_wait(). 389 + Added MHD_OPTION_TLS_NO_ALPN to disable usage of ALPN even if 390 it is supported by TLS library. 391 392 New features: 393 + Added '--enable-heavy-tests' configure parameter (disabled by 394 default). 395 + Implemented support for ALPN. 396 397 Improvements and enhancements: 398 * Return timeout of zero also for connections awaiting cleanup. 399 * Compatibility with autoconf >=2.70, used new autoconf features. 400 * Warn user when custom logger option is not the first option. 401 * Added information to the header about minimal MHD version when 402 particular symbols were introduced. 403 * Updated test certificates to be compatible with modern browsers. 404 * Added on-fly detection of UNIX domain sockets and pipes, MHD does 405 not try to use TCP/IP-specific socket options on them. 406 * Report more detailed error description in the MHD log for send 407 and receive errors. 408 * Enabled bind port autodetection for MSVC builds. 409 410 Fixes: 411 # Fix PostProcessor to always properly stop iteration when 412 application callback tells it to do so. 413 # Fixed MD5 digest authorization broken when compiled without 414 variable length arrays support (notably with MSVC). 415 # Fixed detection of type of send errors on W32. 416 417 -- Evgeny Grin (Karlson2k) 418 419 420 Mon 28 Dec 2020 21:36:00 MSK 421 Released GNU libmicrohttpd 0.9.72 422 423 This release is mostly a bugfix release, with greatly improved 424 compatibility with various OSes/kernels, including FreeBSD, Windows, 425 OpenBSD, NetBSD, Darwin (macOS), Solaris. Performance is improved, 426 especially with HTTPS connections and stay-alive HTTP connections. 427 428 Notable changes since version 0.9.71: 429 430 API changes: 431 + New function MHD_create_response_from_pipe() 432 433 Improvements and enhancements: 434 * Fully rewritten code for buffering/pushing from kernel network buffers 435 for compatibility with various OSes. Reduced number of additional 436 sys-calls, network is better utilized, responses are delivered faster. 437 * Restored optimal sendfile() usage on FreeBSD. 438 * MHD now takes care about SIGPIPE handling by blocking it in internal 439 threads and avoiding functions (like sendfile()) that could generate 440 SIGPIPE when blocking of this signal is not possible. 441 442 Fixes: 443 # Fixed crash in PostProcessor. 444 # Fixed several resources leaks in corner cases. 445 # Improved thread sync, thread safety and fixed one use-after-free under 446 special conditions during stopping of daemon. 447 # Updated HTTP status codes, header names and methods from the 448 registries. 449 # Fixed functioning without listen socket and with internal threads. 450 # Fixed streaming of chunked responses for both HTTP and HTTPS. 451 # Various compatibility fixes. 452 453 -- Evgeny Grin (Karlson2k) 454 455 456 Tue Jan 9 20:52:48 MST 2007 457 Project posted.