libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

ChangeLog (159226B)


      1 Thu Nov 19 11:50:38 PM CET 2026
      2     Fix hang until timeout when epoll() would return exactly
      3     a full batch of events. Optimize header parsing, resulting
      4     in non-trivial speed-up for request handling. Both
      5     issues reported and fixed by Ken Zangelin, thanks a lot!
      6     Releasing GNU libmicrohttpd 1.0.11. -CG
      7 
      8 Fri Aug  7 10:15:01 PM CEST 2026
      9     Fix race in thread-per-connection mode on wake-up signal
     10     between daemon and thread that could result in lost wake-ups
     11     and thus connections that did not finish processing.
     12     Fix rare assertion failure in relation to suspend-and-resume
     13     processing (harmless if assertions were turned off).
     14     Releasing GNU libmicrohttpd 1.0.10. -CG
     15 
     16 Thu Jul 30 05:32:00 PM CEST 2026
     17     Enfocing a minimal size on the PSK.
     18     Fix support for red zones in memorypool.
     19     Fix rare over-writing of HTTP version string with network data
     20     after parsing header.
     21     Fix rare crash from adding connection manually followed by
     22     immediate daemon shutdown.
     23     Releasing GNU libmicrohttpd 1.0.9. -CG
     24 
     25 Tue Jul 28 06:12:03 PM CEST 2026
     26     Fixing additional vulnerabilities inspired by reviewing the
     27     code for similar issues like the ones reported by A. Ramos;
     28     expand the test suite to cover these and other issues.
     29     Releasing GNU libmicrohttpd 1.0.8. -CG
     30 
     31 Mon Jul 27 06:12:03 PM CEST 2026
     32     Fixing various vulnerabilities reported by A. Ramos resulting
     33     in possible crashes or out-of-bounds stack writes for certain
     34     requests in specific configurations.
     35     Releasing GNU libmicrohttpd 1.0.7. -CG
     36 
     37 Wed Jul  8 12:32:30 PM CEST 2026
     38     Fix various minor issues, like theoretical
     39     integer overflows for extreme inputs or NULL
     40     dereferences if the application passes NULL
     41     where it should not.
     42     Releasing GNU libmicrohttpd 1.0.6. -CG
     43 
     44 Thu Apr 16 10:36:54 AM CEST 2026
     45     Also ensuring other HTTP client headers that
     46     should be unique are unique.
     47     Releasing GNU libmicrohttpd 1.0.5. -EG/CG
     48 
     49 Mon Apr 13 11:39:04 AM CEST 2026
     50     Fixed bug where additional "Content-Length" headers were
     51     ignored instead of rejecting the request, fixing a
     52     (minor) header smuggling vulnerability discovered
     53     by SySS GmbH.
     54     Releasing GNU libmicrohttpd 1.0.4. -CG
     55 
     56 Thu Apr  2 12:13:57 AM CEST 2026
     57     Fixed bug in connection list traversal logic that could
     58     cause ready connections to be skipped (possibly indefinitely)
     59     if another connection was being suspended.
     60     Releasing GNU libmicrohttpd 1.0.3. -CG
     61 
     62 Sat Feb 28 23:38:39 CET 2026
     63     Added MHD_OPTION_ALLOW_BIN_ZERO_IN_URI_PATH daemon option.
     64     Added new function MHD_get_connection_URI_path_n().  -EG
     65 
     66 Mon Jul 14 05:03:07 PM CEST 2025
     67     Fix double-close bugs on bind() errors reported by MC on the list.
     68     Removed MHD2 draft code, now in libmicrohttpd2.git.
     69     Releasing GNU libmicrohttpd 1.0.2 -CG
     70 
     71 Fri 23 Feb 2024 21:00:00 UZT
     72     Releasing GNU libmicrohttpd 1.0.1 -EG
     73 
     74 February 2024
     75     Fixed builds without messages. -JP & CG
     76     Fixed builds with external MD5 calculation.
     77     Fixed SHA-512/256 code for hypothetical extra large sizes.
     78     Fixed response handling during daemon shutdown.
     79     Fixed code logic for builds without messages.
     80     Reduced the binary size for builds without messages by removing
     81     the strings with filenames used for panic reports.
     82     Fixed tests and examples for builds without messages and for builds
     83     without basic auth.
     84     Fixed some compiler warnings. -EG
     85 
     86 Thu 01 Feb 2024 15:00:00 CET
     87     Releasing GNU libmicrohttpd 1.0.0 -EG
     88 
     89 January 2024
     90     add missing lock, do not call 'close(-1)' on very rare error path.
     91     use correct HTTP header (content type, not content encoding) for mime type
     92     in examples.
     93     fix memory leak on error path. -CG
     94     MHD_OPTION_CONNECTION_MEMORY_{LIMIT,INCREMENT}: added ignore of zero value.
     95     test_upgrade{,_large}{,_tls}: unified code, removed workarounds, added new
     96     test.
     97     digest_auth_example_adv: added new advanced example for the new Digest
     98     Auth API use.
     99     Fixed compiler warnings in configure, lib, examples, tests.
    100     test_digestauth2: supported old libcurl versions.
    101     Fixed tests with GnuTLS in non-default path.
    102     configure: sorted messages in final config summary.
    103     Fixed non-debug build without HTTPS.
    104     configure: removed old workaround for Solaris.
    105     test_upgrade: adapted for macOS. -EG
    106 
    107 December 2023
    108     "Upgraded" TLS connections: fixed data pumping in various edge conditions.
    109     'bootstrap': fixes and simplifications.
    110     Digest Auth: added default timeout and max nc values, added daemon options
    111     for default nonce timeout and max nc values, added testing, implemented
    112     setting DAuth defaults by configure parameters. -EG
    113 
    114 November 2023
    115     Updated HTTP methods, headers and reason phrases.
    116     Renamed one new basic auth function, improved doxy.
    117     digest auth: updated header, slightly modified multi-value processing. -EG
    118     websocket_threaded_example: fix websocket url string. -Evgeniy Gavrilenko
    119     configure: warn if building without threads. -EG
    120     configure: added detection of FD_SETSIZE value and ability to override it.
    121     internal.h: added macros for polling mode detection.
    122     Added use of configure-detected system default FD_SETSIZE value.
    123     internal.h: added macros for internal threads modes detection.
    124     Added MHD_OPTION_APP_FD_SETSIZE and MHD_FEATURE_FLEXIBLE_FD_SETSIZE.
    125     daemon.c: moved processing and checking of app-provided listen socket.
    126     MHD_start_daemon(): mark listen as UNIX based on available information.
    127     MHD_start_daemon(): added stricter checks for bind() and listen() return
    128     values.
    129     MHD_start_daemon(): added check for epoll FD to fit fd_set for external
    130     polling mode.
    131     Implemented and documented MHD_OPTION_LISTEN_SOCKET followed by
    132     MHD_INVALID_SOCKET.
    133     Fixed ignored daemon port when MHD_OPTION_LISTEN_SOCKET or
    134     MHD_OPTION_SOCK_ADDR are used as documented.
    135     MHD_start_daemon(): further improved UNIX / IP socket detection.
    136     Implemented new option MHD_OPTION_SOCK_ADDR_LEN.
    137     MHD_start_daemon(): added check for app-provided socket to fit fd_set.
    138     MHD_start_daemon(): fixed leaked listen socket when daemon start failed.
    139     MHD_add_connection(): added more checks for correct members of sockaddr.
    140     Timeout handling added detection of more conditions to process the data
    141     without waiting.
    142     MHD_quiesce_daemon(): fixed return value if already quiesced.
    143     MHD_start_daemon(): reject INTERNAL_POLLING_THREAD if threads are disabled.
    144     test_daemon: fixed to not skip the test if failed.
    145     test_digestauth2: fixed order of the initial checks.
    146     Improved daemon shutdown handling in external polling mode.
    147     Unified and simplified fd_set filling.
    148     Added new daemon flag MHD_USE_NO_THREAD_SAFETY and testing.
    149     Officially support zero for MHD_OPTION_THREAD_POOL_SIZE.
    150     test_upgrade: used sized send and receive, removed VLA, other improvements.
    151     test_upgrade: implemented proper timeout detection and handling. -EG
    152 
    153 September 2023
    154     fix #7928: correct tutorial direntry.
    155     proper fix for #7757. -CG
    156     W32 VS projects: added perf_replies.
    157     W32 VS projects: added .editorconfig.
    158     perf_replies improvements for W32.
    159     mhd_threads: muted compiler warning on W32.
    160     mhd_threads: fixed check for error when starting a new thread on W32.
    161     Renamed 'pid' -> 'tid' when used for threads.
    162     mhd_str: fixed possible compiler and run-time sanitizers warnings.
    163     Muted and fixed some compiler warnings.
    164     W32 VS project: corrected compiler settings.
    165     W32 VS: really muted run-time false warnings about data truncation.
    166     examples/sessions.c: fixes.
    167     Fixed missing <errno.h> includes.
    168     Refactored threads support to handle platforms without "invalid" ID value.
    169     Fixed MHD_CONNECTION_INFO_DAEMON: return master daemon. -EG
    170     check rvalues from pthread_mutex_, MHD_add_response_header,
    171     MHD_post_process in examples.
    172     Theoretical use-after-free in test on error path. -CG
    173     Do no use internal magic number if it is used by the remote client.
    174     Refactoring: store "request target" original length.
    175     Detect error earlier if request HTTP version is bad.
    176     Added calculation of request headers total size.
    177     Rewritten handling of exhaustion of memory pool when receiving.
    178     tests: fixed compiler warnings, copy-paste error, added error reporting.
    179     test_long_header: re-use the same port for all checks.
    180     Control acceptance of LF as CRLF in chunked encoding in the same way as
    181     in headers parsing.
    182     Improved compatibility with old compilers.
    183     Fixed more compiler warnings. -EG
    184 
    185 Sun Sep  3 12:23:18 AM CEST 2023
    186     Prevent queueing of responses if connection is not currently in the
    187     access handler callback (which was always not allowed per API spec,
    188     but is now met with an appropriate error response). Fixes #7757. -CG
    189 
    190 August 2023
    191     Improved CPU cores detection in perf_replies. -EG
    192 
    193 July 2023
    194     Added new tool perf_replies with automatic detection of number of available
    195     CPU on system and for the program. -EG
    196 
    197 June 2023
    198     Bump version numbers as v0.9.77 was released on parallel branch.
    199     Added test for MHD_get_version{,_bin} function and related macros.
    200     base64 decoding: added more compact code version.
    201     Refactoring: check whether memory pool block is resizeable.
    202     Re-implemented parsing of the request line from scratch with strict
    203     conformance with RFC 9110 and 9112 requirements.
    204     Re-implemented parsing of the request headers and footers from scratch with
    205     strict conformance with RFC 9110 and 9112 requirements.
    206     Fuzzing tests: almost completely re-implemented. The new version is unified
    207     and much easier to maintain.
    208     Added new tests for folded headers.
    209     Corrected HTTP error responses for clients.
    210     connection: fixed pipelined requests processing.
    211     Added checks for correct values specified for connection memory limits.
    212     process new connection: fixed missing mutex unlock in error handling path.
    213     W32 VS Projects: fixed code parsing by GUI.
    214     Focused all read-buffer grows in a single point, related improvements. -EG
    215 
    216 May 2023
    217     Improved portability of boostrap (and autogen.sh)
    218     Muted more compiler warnings in configure.
    219     Tests: updated to support new libcurl APIs and fixed deprecation
    220     warnings with new versions (the old versions are supported still).
    221     Tests: minor and cosmetic fixes and improvements.
    222     Tests: compiler warnings fixes.
    223     configure: bump gettext version.
    224     Tests: fixed build with C89 compilers.
    225     Tests: fixed tests on Darwin 22.x (Ventura).
    226     Tests: redesigned one tests group to avoid stress-testing of the OS.
    227     configure: improved portability for exotic platforms.
    228     examples: removed non-portable functions, added some checking,
    229     fixed compiler warnings, fixed erroneously commented out code.
    230     configure: fixed detection of __FUNCTION__ magic macro.
    231     Unified function name magic macros usage in code.
    232     W32 VS projects: supported ARM and ARM64.
    233     Fixed compiler warning on x32.
    234     Some minor fixes for W32 VS compilation. -EG
    235 
    236 
    237 April 2023
    238     Implemented and used new function MHD_pool_deallocate().
    239     Updated libtool fixes.
    240     Removed some autotools files from git.
    241     Added autoconf patches and fixes.
    242     {md5,sha256}_ext.c: fixed processing of initialisation error with NULL
    243     handler. -EG
    244 
    245 March 2023
    246     Upgraded TLS: fixed inefficient communication.
    247     Upgraded TLS: use more available memory for pumping the data. -EG
    248 
    249 Web 29 Mar 2023 20:56:00 CEST
    250     Bumped version as the hotfix was released based on the separate branch. -EG
    251 
    252 March 2023
    253     configure: reordered checks for compiler flags.
    254     configure: fixed checks for tsearch() and related changes.
    255     Makefile: fixed build with 'make' without nested vars support.
    256     configure: fixed compiler warnings.
    257     libcurl.m4: patched to fix compiler warning.
    258     configure: internal fixes, compiler warning fixes, cosmetics, better
    259     POSIX compatibility, fixed compatibility with old autoconf.
    260     Upgraded TLS: warn if emergency buffer is used. -EG
    261 
    262 Sun Feb 26 05:49:30 PM CET 2023
    263     Fix potential DoS vector in MHD_PostProcessor discovered
    264     by Gynvael Coldwind and Dejan Alvadzijevic (CVE-2023-27371). -CG
    265 
    266 February 2023
    267     epoll: immediately notice when other side closes the socket, instead of
    268     waiting for timeout. -CG
    269 
    270 December 2022
    271     Refactored cookies parsing.
    272     Always close connection after reply if both Content-Length and chucked are
    273     used. This is specified by RFC.
    274     Added new daemon option MHD_OPTION_CLIENT_DISCIPLINE_LV with more detailed
    275     control of accepted/rejected non-standard requests.
    276     Added new M4 helper macro.
    277     configure: used better detection of some functions when cross-compiling.
    278     configure: try to detect whether eventfd is enabled.
    279     Compiler warning fixes.
    280     Improved reported strings in tests. -EG
    281 
    282 November 2022
    283     connection: refuse requests with unsupported Transfer-Encoding.
    284     connection: reject or log requests with both chunked encoding and
    285     Content-Length.
    286     tests: fixed checking response headers as null-terminated string.
    287     Some tests fixes.
    288     configure: check fixes.
    289     Refactored user-poison: minimized scope of non-sanitized code.
    290     digestauth: avoided malloc() repeating by using the new function.
    291     MHD_get_version_bin(): added new function.
    292     test_parse_cookies: rewritten. -EG
    293 
    294 October 2022
    295     Reworked HTTPS tests. Removed hardcoded TLS version and ciphers, updated
    296     self-signed certificate.
    297     Fixed delayed call of connection notification callback in
    298     thread-per-connection mode.
    299     Fixed delayed new connection notification in thread-per-connection mode.
    300     Minor internal code improvements.
    301     Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG".
    302     TLS initialisation: re-implemented. New implementation trying to use
    303     "libmicrohttpd" system-wide GnuTLS configuration by default with fallbacks
    304     to generic system-wide GnuTLS configuration and default GnuTLS
    305     configuration.
    306     New daemon option to use addition to default configuration instead of
    307     specifying full configuration string.
    308     Added relevant tests for GnuTLS initialization.
    309     Added reporting of failed part of GnuTLS configuration string.
    310     Added MHD_FEATURE_DEBUG_BUILD value.
    311     Implemented internal protection from some wild data hypothetically reported
    312     by accept4().
    313     Internal refactoring.
    314     Prevented sending "100 continue" if request has no body or if any part of
    315     request data has been received.
    316     Reworked handling of situation when app just partially processed the data:
    317     if any data was processed then zero timeout if used for polling sockets,
    318     if no data was processed then callback in not called until the new data
    319     arrived.
    320     Fixed handling of various errors conditions detected in requests.
    321     Added test with Content-Length broken value in request.
    322     test_head: added check for excess data in reply
    323     Improved epoll connection handling.
    324     Fuzzing tests: fixed CPPFLAGS.
    325     configure: do not pass AM_TESTS_ENVIRONMENT directly.
    326     configure: added summary message about heavy and fuzzing tests
    327     test-suite: marked some tests as "very heavy" tests
    328     configure: improved check for asserts. -EG
    329 
    330 September 2022
    331     Added testing of userdigest and userhash calculations.
    332     Implemented SHA-512/256 from scratch.
    333     Digest Auth: implemented SHA-512/256 support, added
    334     MHD_FEATURE_DIGEST_AUTH_SHA512_256 and relevant tests.
    335     Made all algorithms (MD5, SHA-256, SHA-512/256) optional with ability
    336     to remove by configure parameter.
    337     Digest Auth: internal refactoring and improvements.
    338     configure: minor improvements.
    339     Fixed initialisation of very old GnuTLS versions.
    340     Replace public domain MD5 implementation with the new implementation
    341     written from scratch.
    342     MD5, SHA-256, SHA-512/256: various code improvements, special versions for
    343     compact code.
    344     Digest Auth: changed internal algorithm for re-use of nonce-nc slot.
    345     Digest Auth: used weak pseudo-random generators to avoid slot clashes.
    346     Implemented optional ability to use GnuTLS functions for MD5 and SHA-256
    347     calculations.
    348     Fixed harmless unwanted extra data processing resulting in triggering of
    349     the assert.
    350     Added testing of HEAD requests.
    351     Minor internal changes.
    352     Fixed compiler warnings for compact code version.
    353     Muted compiler warnings with clang.
    354     Configure: more workarounds for clang on W32 with incorrect headers.
    355     Removed long-unused "gauger" from tests.
    356     Fixed compiler warnings in test.
    357     test_add_conn: added reasonable limits. -EG
    358 
    359 August 2022
    360     Added testing of userhash parameter parsing.
    361     Added testing of the auth type headers in one request.
    362     Warn in log if random data has not been initialised.
    363     Digest Auth: improved response header in RFC2069 mode.
    364     Added more string processing internal functions.
    365     Digest Auth: added new option MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE to
    366     control nonces generation.
    367     Increased testing for Digest Auth.
    368     Digest Auth: do not use reproducible nonces generation by default.
    369     Minor correction for auth headers processing.
    370     Digest Auth: internal refactoring.
    371     Digest Auth: added algorithm value to username info (required for userhash
    372     values).
    373     Digest Auth: added new public functions for userhash and userdigest
    374     calculations. -EG
    375 
    376 July 2022
    377     Digest Auth: internal optimisations and refactoring, digest_auth_check
    378     almost completely rewritten.
    379     Digest Auth: removed use of VLA.
    380     Digest Auth: added support for username in extended notation and test
    381     for extended notation.
    382     Digest Auth: implemented userhash support and tests for extended notation.
    383     MHD_add_response_entry(): refactoring
    384     Digest Auth: implemented DAuth response function
    385     MHD_queue_auth_required_response3() from scratch. Removed old
    386     implementations, old functions converted to wrappers for the new function.
    387     Digest Auth: added new group of tests.
    388     Digest Auth: added related MHD_FEATURES_* values.
    389     Digest Auth: added detection of the algorithm used by the client and
    390     use specified algorithm if allowed by application.
    391     Configure: cosmetics and reports improvements, control static and shared
    392     enablement by --enable-build-type=.
    393     Added new daemon option MHD_OPTION_DIGEST_AUTH_RANDOM_COPY and tests.
    394     Digest Auth: implemented support for old RFC 2069 (if allowed by app) and
    395     tests for RFC 2069.
    396     Internal refactoring: moved all request-related connection struct members
    397     to dedicated struct. The same for reply-related struct members.
    398     Implemented support for both Basic and Digest headers in the same
    399     request. -EG
    400 
    401 June 2022
    402     Fixed compiler warnings in main code and examples.
    403     Added error checking in examples.
    404     Added test for parsing auth headers.
    405     Improved parsing of auth headers.
    406     Added more internal functions for quoted string processing.
    407     Added test for quoting string processing.
    408     Digest Auth: internal optimisations.
    409     Basic Auth: fixed handling of realms with slashes and/or double quotes.
    410     Digest Auth: fixed use of possible maximum client nonce length as maximum
    411     server nonce length. Reduced size of internal arrays.
    412     Basic Auth: new function MHD_queue_basic_auth_fail_response3() with support
    413     for RFC 7617.
    414     Basic Auth: added new function MHD_basic_auth_get_username_password3() with
    415     more details about username and password. Technically allow binary zero in
    416     username and in password.
    417     Fixed data races when closing upgraded connection.
    418     Replaced public domain Base64 decoder with the new implementation written
    419     from scratch. The new implementation has very precise checks for the input
    420     data.
    421     Added new test for Base64 decoding.
    422     Updated examples to use new Basic Auth functions.
    423     Fixed and improved postprocessor tests.
    424     Ported test to non-VLA compilers.
    425     Added configure parameter --enable-compact-code.
    426     Removed duplication of "Connection: upgrade" header. Patch by Alexander
    427     Irion.
    428     Configure: removed some unneeded compiler flags.
    429     Digest Auth: improved RFC match (qop value caseless match), check
    430     parameters length validity before checking the values validity, correctly
    431     compare URLs with binary zeros, check URL arguments only in the same order
    432     as specified in DAuth header.
    433     Added internal functions for percent-decoding and tests for
    434     percent-decoding.
    435     Added internal function for hex to bin decoding, tests for hex<->bin
    436     decoding.
    437     Digest Auth: added new function MHD_digest_auth_get_request_info3() and
    438     MHD_digest_auth_get_username3() with detailed information about DAuth
    439     request. -EG
    440     Fixed memory leaks in tests.
    441     Fixed wrong array size for Digest Auth. -CG
    442 
    443 May 2022
    444     Improved public doxy.
    445     Digest Auth: fixed missing mark on 'nc' value as 'used'.
    446     Digest Auth: added internal checks for unrealistically high values.
    447     Digest Auth: added check for correct values from application.
    448     Digest Auth: nonce timestamps changed to milliseconds to lower conflict
    449     probability.
    450     Digest Auth: implemented management nonce-nc map array slots so old
    451     entries are removed safely while trying to avoid to remove the new entries.
    452     configure: added 'debugger' build type.
    453     Added more tests for cookies parsing.
    454     Digest Auth: use nonce-nc map arrays with locks in master daemon only
    455     so works can re-use the nonces and nc information.
    456     MHD_set_connection_option(): reduced scope for the lock.
    457     Fixed leak of mutexes when daemon creation failed and when closing daemon
    458     with thread pool.
    459     Digest Auth: fixed stale nonce result value ambiguity.
    460     Digest Auth: added special check for fabricated nonces.
    461     Added new functions MHD_digest_auth_check3() and
    462     MHD_digest_auth_check_digest3() with detailed result of the checks.
    463     Added return NULL MHD_CONNECTION_INFO_CLIENT_ADDRESS when information is
    464     not available.
    465     Improved internal handling of non-IP connections (UNIX sockets or pipes)
    466     when processing the client address.
    467     Fixed compiler warnings.
    468     Increased testing of cookies parsing.
    469     Completely re-written cookies parsing. The new code follow RFC 6265.
    470     Made cookies parsing functionality optional, can be disabled by configure.
    471     Configure: added more warning flags.
    472     Configure: internal improvements.
    473     Globally changed '#if HAVE_SOMETHING' to '#ifdef HAVE_SOMETHING'.
    474     Enabled more compiler warnings in W32 projects.
    475     Fixed MHD functionality with blocking sockets. Patch by Kolja Nowak.
    476     Moved some macros and declaration to new specialised headers: basicauth.h
    477     and digestauth.h.
    478     Added new function to process quoted strings.
    479     Digest Auth: reworking support for multiple digest algorithms.
    480     Response processing: better handle unrealistic but broken situation.
    481     Basic and Digest Auth: completely reworked headers parsing, unified code.
    482     Added new autoconf macros.
    483     Configure: added more workarounds for clang.
    484     Fixed possible use of uninitialised variable.
    485     Added new test for Basic Auth.
    486     Some code readability improvements. -EG
    487 
    488 April 2022
    489     Added autoconf macro for checking compiler parameter/flag.
    490     Improved -fvisibility compiler flag support detection in configure.
    491     Fixed compiler warnings.
    492     Moved fixed libtool-specific flags to Makefile from configure.
    493     Configure: added reporting of final compiler/linker flags.
    494     Fixed ignored user linker flags when building library binary.
    495     Improved makefiles dependency specification.
    496     Implemented --enable-build-type=TYPE configure parameters for ready-to-use
    497     configuration sets (defaults).
    498     Separated internal types for request headers and response headers.
    499     Fixed many unneeded drops of 'const' qualifier, converted some pointers
    500     to 'const'.
    501     Added use of _MHD_EXTERN with all external function definitions.
    502     Refactored response creation functions.
    503     Added new function MHD_create_response_from_buffer_static() to avoid
    504     unwanted dropping of 'const' when application is using static strings.
    505     Added new API function MHD_create_response_from_buffer_copy().
    506     Public doxy improvements.
    507     Improved handling of TLS backends for libcurl when testing HTTPS.
    508     Updated TLS certificates for tests and examples. New certificates
    509     were generated with SAN fields to match actual requirements.
    510     Fixed old style function definitions in examples.
    511     Tuned compiler warning flags.
    512     Fixed many preprocessor macros (removed space before bracket).
    513     Fixed printf() format specifications in examples.
    514     Removed non-literal strings for printf in examples.
    515     Improved portability of examples.
    516     Fixed unaligned access via sockaddr_in pointers.
    517     Fixed unaligned access in MHD_get_connection_info() and
    518     MHD_get_daemon_info().
    519     Compiler warning fixes.
    520     Changed: any negative number returned by response data generation
    521     callback function is treated as an error.
    522     Fixed setting custom connection timeout value for thread-per-connection
    523     mode.
    524     Fixed short (lees then one second) busy-waiting when connection is about
    525     to expire by switching to milliseconds accuracy instead of seconds.
    526     Added new functions MHD_get_timeout64(), MHD_get_timeout64s(),
    527     MHD_get_timeout_i().
    528     Added some checks for possible value trim due to width conversion.
    529     Digest Auth: continuation of refactoring, optimisations.
    530     Digest Auth: do not use nonces provided by the client if they were not
    531     generated previously by MHD. -EG
    532 
    533 March 2022
    534     Added internal check for suitability of used response.
    535     Improved doxy.
    536     Improved handling of application-provide "Content-Length" header.
    537     Internally separated "Icy" flag from the response code.
    538     Fixed Address Sanitizer unpoison of memory when memory pool is destroyed.
    539     Improved log messages.
    540     Added more checks for "Upgrade" handling.
    541     Better internally separated response type handling:
    542       headers only without
    543       body-specific headers, body-specific headers without body
    544     (Content-Length/Transfer-Encoding),
    545       all headers with body.
    546     Blocked MHD_SIZE_UNKNOWN value for buffer-based responses.
    547     Significantly improved doxy for MHD_queue_response().
    548     Added new function MHD_create_response_empty()
    549     Fixed compiler flags for UBsan in configure.
    550     Added new option for "--enable-sanitizers=" parameter.
    551     Improved autoconf macros. -EG
    552 
    553 January 2022
    554     Tuned automake options.
    555     Fixed compiler warning in examples.
    556     Fixed use of initialised variable in tests.
    557     Removed unused autotools files.
    558     .gitignore: cleanup and update.
    559     Autotools: always let user override build flags.
    560     Moved 'po' files to separate directory.
    561     Fixed missing include file in docs.
    562     Fixed 'make distcheck'.
    563     Fixed use on GNU/kFreeBSD.
    564     Fixed HTTP/1.1 or 1.0 selection in tests.
    565     Other tests improvements and fixes.
    566     Digest Auth: changed "md5" / "sha-256" to "MD5" / "SHA-256" to better
    567     match RFC (while clients should use caseless matching).
    568     Initial digest auth refactoring, reject invalid input.
    569     Global rename of callback parameter 'con_cls' -> 'req_cls'.
    570     Digest auth tests improvements and fixes.
    571     Added test for parallel digest auth requests.
    572     Minor autoconf macros fixes. -EG
    573 
    574 December 2021
    575     configure: fixed unwanted output on Fedora.
    576     configure: clarified licence message.
    577     Doxy corrections and improvments. -EG
    578 
    579 Sun 26 Dec 2021 20:30:00 MSK
    580     Releasing GNU libmicrohttpd 0.9.75 -EG
    581 
    582 December 2021
    583     Fixed Makefile warning on MinGW.
    584     Fixed compiler warning on MinGW.
    585     Fixed "configure" portability (for NetBSD).
    586     MSVC project cosmetics.
    587     MSVC fixed project to fix linker warning.
    588     Fixed compiler warning on some platforms.
    589     Further improved test_client_put_stop to get stable results on all
    590     platforms.
    591     Added workaround for platforms (like OpenBSD) where system monotonic clocks
    592     may jump forward and back.
    593     Added more checks in test_large_put, increased timeout (was too small for
    594     this test). -EG
    595 
    596 Sun 19 Dec 2021 18:30:00 MSK
    597     Releasing GNU libmicrohttpd 0.9.74 -EG
    598 
    599 December 2021
    600     Fixed doxy for MHD_suspend_connection().
    601     Some code improvements for new test test_client_put_stop.
    602     Added special log message if thread creation failed due to system limits.
    603     Fully restructured new_connection_process_() to correctly handle errors,
    604     fixed missing decrement of number of daemon connections if any error
    605     encountered, fixed app notification of connection termination when app has
    606     not been notified about connection start, fixed (highly unlikely) reset of
    607     the list of connections if reached daemon's connections limit.
    608     configure: fixed some compiler warnings reported in config.log.
    609     Fixed tests on FreeBSD to support system-limited rate of RST packets and
    610     'blackhole' system setting. -EG
    611     Fixed tests for libmagic to really use libmagic in examples. -CG
    612     Used tricks in code formatting to workaround uncrustify bugs.
    613     configure: improved compatibility with various shells.
    614     configure: added selective enable of sanitizers.
    615     Fixed compatibility with old GnuTLS versions.
    616     Fixed tests compatibility with old libcurl versions.
    617     Fixed busy-waiting in test_timeout (fixed CPU load spikes in the test).
    618     test_https_time_out: check rewritten, previously it is was no-op.
    619     test_upgrade{,_large}: fixed passing of socket value to GnuTLS on W32.
    620     Simplified Makefile for HTTPS tests.
    621     Added detection of old broken GnuTLS builds (on RHEL6 and clones) and
    622     disabled some tests broken with these builds.
    623     Muted compiler warnings with old libcurl versions.
    624     Reworked dlltool support: added support for weakened oversimplified
    625     half-broken llvm-dlltool
    626     Silenced MS lib tool warning and MS lib tool invocation.
    627     Added Makefiles rules for automatic regeneration of all required files if
    628     anything is missing.
    629     Added Makefile silent rules support for W32 RC and W32 static libs.
    630     Added local patches for autotools (mainly for libtool) to build MHD
    631     correctly on modern MinGW64/Clang.
    632     Updated HTTP headers macros from registry. -EG
    633 
    634 November 2021
    635     Clarified comments and doxy for MHD_str* and related tests.
    636     MHD_uint32_to_strx(): rewritten for readability and minor optimization,
    637     used indexes instead of pointers.
    638     Documented in doxy how to use MHD_AccessHandlerCallback.
    639     mhd_sockets: added more network error codes.
    640     W32 socket pair: set TCP_NODELAY to avoid unwanted buffering and delays.
    641     Additional doxy fixes in microhttpd.h.
    642     Fixed blocking sockets setting in tests and examples for W32.
    643     Added checks for fcntl() results in tests and examples.
    644     Added series of tests based on simple HTTP client implementation developed
    645     for testing of MHD.
    646     Renamed 'early_response' connection flag to 'discard_request' and reworked
    647     handling of connection's flags.
    648     Clarified request termination reasons doxy, fixed reporting of
    649     MHD_REQUEST_TERMINATED_READ_ERROR (previously this code was not really used
    650     in reporting).
    651     Enforce all libcurl tests exit code to be zero or one.
    652     Rewritten client upload processing: removed redundant checks, fixed
    653     skipping of chunk closure when not data is not received yet, fixed skipping
    654     of the last LF in termination chunk, handle correctly chunk sizes with more
    655     than 16 digits (leading zeros are valid according to HTTP RFC), fixed
    656     handling of CRCR, LFCR, LFLF, and bare CR as single line delimiters, report
    657     error when invalid chunk format is received without waiting to receive
    658     (possibly missing) end of the line, reply to the client with special error
    659     if chunk size is too large to be handled by MHD (>16 EiB).
    660     Added error reply if client used too large request payload (>16 EiB).
    661     Fixed return value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, now it
    662     returns MHD_YES as W32 does not need sigpipe suppression.
    663     configure: reordered and improved headers detection. Some headers require
    664     other headers to be included before, now configure supports it.
    665     Added missing ifdef guard for <stdbool.h>.
    666     mhd_sockets: reordered includes for better compatibility.
    667     Some code readability and formatting improvements. -EG
    668 
    669 October 2021
    670     Added test family test_toolarge to check correct handling of the buffers
    671     when the size of data is larger than free space.
    672     Fixed missing updated of read and write buffers sizes.
    673     Added detection and use of supported "noreturn" keyword for function
    674     declaration. It should help compiler and static analyser.
    675     Added support for leak sanitizer.
    676     Fixed analyser errors on W32.
    677     Partially reworked memory allocation from the pool, more robust
    678     implementation, always track read and write buffers.
    679     Added custom memory poisoning in memory pool with address sanitizer.
    680     Added missing update of the read buffer size.
    681     Addition for doxy for new behaviour of MHD_del_response_header().
    682     Added two tests with non-standard symbols in requests.
    683     Removed double close of connection with error in headers processing.
    684     Respond to the client with error if chunked request has broken chunked
    685     encoding as required by HTTP RFC instead of just closing the connection.
    686     Fixed request headers processing. Do not recognize bare CR as end of line.
    687     Fixed processing of CRCR, bare CR, LFCR, and LFLF as end of the line for
    688     request chunked encoding. Now only CRLF or bare LF are recognized as end
    689     of line.
    690     Added Lawrence Sebald to the AUTHORS file (iovec-based responses).
    691     Check for PAGESIZE and PAGE_SIZE macros and check whether they can be used
    692     for static variable initialization.
    693     Include "MHD_config.h" before all other includes to set macros required to
    694     be set before standard includes.
    695     Chunked response: abort with error if application returns more data than
    696     requested.
    697     Monotonic clock: use only native clock on W32 as all other clocks are just
    698     wrappers.
    699     W32: fixed builds with MSVC, added projects for VS2022, added MSVC
    700     universal project that use latest available toolset, use C17 if supported.
    701     Chunked response: fixed calculation of number of bytes left to send.
    702     microhttpd.h: doxy clarifications for sockets polling.
    703     Updated HTTP statuses, methods, and headers names from the registries.
    704     Further improved doxy for MHD_add_response_header().
    705     A few comments improvements and clarifications.
    706     Added internal connection's flag indicating discard of the request. -EG
    707     Websockets update by David Gausmann. -DG
    708     Fixed reported value for MHD_CONNECTION_INFO_CONNECTION_TIMEOUT.
    709     Minor code readability improvements in MHD_set_connection_option().
    710     Improved doxy for MHD_get_timeout().
    711     Memorypool: minor code improvements. -EG
    712 
    713 September 2021
    714     Improved system includes headers detection and usage. Removed unused
    715     headers detection.
    716     Added indirect calculation of maximum values at compile time by
    717     using types size detection. These values are used only to mute
    718     compiler warnings.
    719     Fixed pre-compiler errors if various *_MAX macros defined with
    720     non-digits symbols not readable for pre-compiler.
    721     Limit number of used CPU cores in tests to 6, unless heavy tests are
    722     enabled.
    723     Disabled parallel tests with libcurl if heavy tests are enabled.
    724     configure: removed '--enable-sanitizer' and added '--enable-sanitizers'
    725     parameters. Added testing for supported sanitizers and enabling only
    726     supported sanitizers.
    727     Added support for run-time sanitizers settings for tests when
    728     sanitizers are enabled.
    729     Added support for undefined behavior sanitizer without run-time library.
    730     Fixed various undefined behavior sanitizer detected errors, improved
    731     portability.
    732     Fixed how bitwise NOT is used with enum, fixed portability.
    733     microhttpd.h: changed macros MHD_CONTENT_READER_* to use ssize_t.
    734     test_postprocessor: added more check, improved error reporting, added
    735     new test data.
    736     postprocessor: fixed undefined behavior (memcpy(), memmove() with zero
    737     size and NULL pointer).
    738     Updated copyright year in W32 DLLs.
    739     postprocessor: fixed empty key processing.
    740     test_postprocessor: added tests with hex-encoded values.
    741     postprocessor: fixed incomplete processing of the last part of hex-encoded
    742     value if data was broken into certain sized pieces.
    743     Used type specifiers for printf() from inttypes.h to improved compatibility
    744     with various run-time libs. Fallback to standard values if type specifiers
    745     are not defined.
    746     Added detection of used run-time library (MSVCRT/UCRT) on W32.
    747     testcurl: fixed incorrect case-insensitive match for method name. Method
    748     name must be checked by using case-sensitive match.
    749     microhttpd.h: clarified some doxy descriptions.
    750     Prevented potential double sending of error responses.
    751     Fixed application notification with MHD_REQUEST_TERMINATED_COMPLETED_OK
    752     when error response has been sent (MHD_REQUEST_TERMINATED_WITH_ERROR is
    753     used).
    754     Avoid trying to send error response if response is already being sent.
    755     Improved log error message when error response is processing. -EG
    756 
    757 August 2021
    758     Silently drop "keep-alive" token from response "connection" header,
    759     "keep-alive" cannot be enforced and always enabled if possible.
    760     Further improved doxy for MHD_add_response_header().
    761     Added detection of the "Date:" header in the response headers set by
    762     app at response forming time.
    763     Disallow space in response header name, allow tab in response header
    764     value.
    765     Added internal MHD_uint8_to_str_pad() function.
    766     Used internal MHD_uint8_to_str_pad() in datestamp generation function.
    767     Added detection and reporting of incorrect "Upgrade" responses. -EG
    768     Fixed short busy waiting (up to one second) when connection is going
    769     to be closed. -AI
    770     Minor improvement for test_callback, test_get_chunked
    771     Fixed chunked responses with known size.
    772     Added two more tests for chunked response.
    773     Fixed chunked responses with predefined data (without data callback).
    774     Fixed calculation of the buffer size for the next response chunk.
    775     Completely rewritten reply header build function. The old version
    776     had several levels of hacks, was unmaintainable, did not follow
    777     HTTP specification in details; fixed used caseless header matching
    778     where case-sensitive matching must be used; removed two passes of
    779     header building. New version use clear logic and can be extended
    780     when needed.
    781     Changed behaviour: "Connection: keep-alive" is not being sent
    782     for HTTP/1.1 connection (as per HTTP RFC).
    783     test_get_chunked: fixed error reporting.
    784     HTTPS tests: fixed memory leaks if function failed.
    785     libcurl tests: improved handling of curl multi_*.
    786     Added two tests for correct choice of "Keep-Alive" or "Close".
    787     Simplified Makefile for testcurl.
    788     Fixed select() error handling in tests.
    789     microhttpd.h: minor macro formatting
    790     Changed behaviour: if response size is unknown and chunked encoding is
    791     allowed, chunked encoding is used even for non-keep-alive connection as
    792     required by HTTP RFC.
    793     Added two more tests for chunked replies.
    794     Simplified keepalive_possible(); added new value for MHD_ConnKeepAlive,
    795     added third state "Upgrade".
    796     Changed behaviour: used HTTP/1.1 replies for HTTP/1.0 requests as
    797     required by HTTP RFC. HTTP/1.0 reply still can be enforced by response
    798     flag.
    799     Added more doxy for MHD_ResponseFlags, added new names with the same
    800     values as old names: MHD_RF_HTTP_1_0_COMPATIBLE_STRICT and
    801     MHD_RF_HTTP_1_0_SERVER.
    802     Added new value MHD_RF_SEND_KEEP_ALIVE_HEADER to enforce sending of
    803     "Connection: keep-alive" even for HTTP/1.1 clients when keep-alive is
    804     used.
    805     test_get_close_keep_alive: added more combinations of parameters to
    806     check.
    807     Added separate flag for chunked response in connection instead of
    808     reusing the same flag as for chunked request.
    809     Added new connection's flag "stop_with_error".
    810     Fixed empty first line processing: the request could be not processed
    811     unless something else kicks next processing the same connection again.
    812     Added new connection states: MHD_CONNECTION_REQ_LINE_RECEIVING,
    813     MHD_CONNECTION_FULL_REQ_RECEIVED, MHD_CONNECTION_START_REPLY to
    814     simplify states logic.
    815     Changed write buffer allocation logic: as connection buffer size is
    816     known and fixed, use initially use full buffer for writing and reduce
    817     size of part used for writing if another allocation from the same
    818     buffer needs to be done. Implemented helper function to automatically
    819     reduce the size of read or write part to allocate buffer for other
    820     needs.
    821     Added define of NDEBUG if neither _DEBUG nor NDEBUG are defined.
    822     As accepted sockets inherit non-blocking flag from listening socket
    823     on all platform except Linux, track this state to use less number
    824     of syscalls.
    825     Fixed compiler and static analyser warnings.
    826     Moved HTTPS tests helper file to the HTTPS tests directory.
    827     Minor Makefiles cleanup.
    828     Added support for new monotonic clock ids.
    829     Added new internal monotonic clock function with milliseconds accuracy.
    830     Fixed support of custom connection timeout in thread-per-connection mode.
    831     Added more error checking to test_timeout.
    832     microhttpd.h: removed duplicated macro.
    833     Refined timeouts handling. Switched from seconds resolution to milliseconds
    834     resolution, added automatic detection and support of low-resolution system
    835     clock to avoid busy-waiting at connection expiration. Added log message
    836     for too large timeout period (> 146 million years) with trim to supported
    837     values. -EG
    838 
    839 Wed 04 Aug 2021 06:56:52 PM CEST
    840     Introduce new MHD_CONNECTION_INFO_HTTP_STATUS. -CG
    841 
    842 July 2021
    843     Added automatic response flags with detection when response
    844     is being formed.
    845     Added special processing for response "Connection" headers, combined
    846     multiple "Connection" headers into single header.
    847     Restructured MSVC project files.
    848     Changed MSVC project defaults to Vista+ (WinXP is still supported).
    849     Fixed copy-paste error in mhd_aligh.h, added support for MSVC.
    850     Added internal function for printing hex and decimals numbers.
    851     Reply chunked body handling fixes, used new internal functions
    852     instead of snprintf().
    853     Added automatic response flag when app sets chunked encoding header.
    854     New internal function for chunked reply footer forming. Unification with
    855     reply header forming function just over-complicated things and made
    856     function hardly maintainable.
    857     Added new function MHD_get_reason_phrase_len_for(), related tests and
    858     updated scripts for response phrases.
    859     Added more tests for chunked replies.
    860     Added function to reset connection state after finishing processing of
    861     request-reply to prepare for the next request.
    862     Added even more tests for chunked replies.
    863     Added internal function for printing uint64_t decimal numbers. -EG
    864 
    865 June 2021
    866     Tests: implemented checking of response footer.
    867     Fixed loss of incoming data if more than half of buffer is
    868     used for the next request data.
    869     Fixed completely broken calculation of request header size.
    870     Chunked response: do not ask app callback for more data then
    871     it is possible to process (more than 16 MBytes).
    872     Check and report if app used wrong response code (>999 or <100)
    873     Refuse to add second "Transfer-Encoding" header.
    874     HTTPS tests: check whether all libcurl function succeeded.
    875     HTTPS tests: implemented new detection of TLS backend.
    876     HTTPS tests: fixed tests with new TLS defaults (SSL forbidden).
    877     Implemented detection of basic HTTP methods, fixed wrong
    878     caseless matching for HTTP method names.
    879     MHD_create_response_*() functions: improved doxy.
    880     MHD_add_response_header: added detailed comment about automatic
    881     headers.
    882     Do not allow responses with 1xx codes for HTTP/1.0 requests.
    883     Fixed used order of headers: now user response headers are used in
    884     the same order as was added by application.
    885     Added new internal function MHD_get_response_element_n_().
    886     Added detection of more compiler built-ins for bits rotations.
    887     Minor optimisation of caseless strings matching.
    888     Added MHD_str_remove_token_caseless_() function and tests.
    889     Added MHD_str_remove_tokens_caseless_() function and tests. -EG
    890 
    891 May 2021
    892     Doxy description clarifications for MHD_get_timeout() and related
    893     functions.
    894     Added MHD_create_response_from_buffer_with_free_callback_cls().
    895     Added SHA-1 calculation (required for WebSockets).
    896     Added new internal header mhd_aligh.h for checking alignment of
    897     variables.
    898     Fixed SHA-256 and MD5 calculation with unaligned data.
    899     Added tests for hashes with unaligned data.
    900     Used compiler built-ins for bits rotations.
    901     Added detection of HTTP version at early stage.
    902     Added early response of unsupported HTTP version.
    903     Fixed wrong caseless matches for HTTP version strings.
    904     Added calculation of error responses at compile time (avoided
    905     repeated strlen() for known data). -EG
    906 
    907 April 2021
    908     New test for reply chunked encoding. -EG
    909 
    910 Mon 26 Apr 2021 02:09:46 PM CEST
    911     Importing experimental Websocket support by David Gausmann. -CG
    912 
    913 Sun 25 Apr 2021 14:00:00 MSK
    914     Releasing GNU libmicrohttpd 0.9.73. -EG
    915 
    916 Sat 24 Apr 2021 23:00:00 MSK
    917     Fixed build with Clang and Visual Studio.
    918     MSVS project files updated.
    919     Enabled bind port autodetection with MSVS builds. -EG
    920 
    921 Fri 23 Apr 2021 14:27:00 MSK
    922     Fixed build without TLS lib.
    923     Fixed build without system poll() function.
    924     Fixed compiler warnings on 32-bit platforms.
    925     Fixed various compiler warnings. -EG
    926 
    927 Thu 22 Apr 2021 12:32:00 MSK
    928     Fixed some typos.
    929     Force disable TCP_CORK, TCP_NOPUSH, and TCP_NODELAY before switching
    930     connection to "upgraded" mode.
    931     Improved portability of the test-suite for upgraded connections. -EG
    932 
    933 Tue 20 Apr 2021 17:11:00 MSK
    934     Disabled NLS by default in configure. -EG
    935 
    936 Mon 19 Apr 2021 18:58:00 MSK
    937     Fixed testzzuf/test_put_chanked to correctly use MHD.
    938     Added internal error code for TLS errors.
    939     Added all missing messages to the .pot file.
    940     Detect more types of errors for receiving data and report
    941     error description in the MHD log.
    942     Added support for ALPN on TLS connections if supported by
    943     used TLS library. -EG
    944 
    945 Sun 18 Apr 2021 20:47:00 MSK
    946     Removed dead code.
    947     Limited iov-backed responses size to SSIZE_MAX as limited by
    948     system calls.
    949     Report error message in MHD log for send errors. -EG
    950 
    951 Sat 17 Apr 2021 18:50:00 MSK
    952     Unified upgrade test behavior for all platforms.
    953     Some code simplification and unification.
    954     Compiler warning (false positive) fixed. -EG
    955 
    956 Fri 16 Apr 2021 17:58:00 MSK
    957     Used run-time value if IOV_MAX if available.
    958     Fixed portability of error handling for sending functions.
    959     Detect pipes/unix sockets on fly and do not use TCP/IP specific
    960     functions with them.
    961     Fixed support of UNIX sockets on non-Linux kernels. -EG
    962 
    963 Fri 16 Apr 2021 10:23:39 AM CEST
    964     Detect if a socket is a UNIX domain socket and do not try to play
    965     with TCP corking options in this case (avoids useless failed
    966     syscalls). -CG
    967 
    968 Thu 15 Apr 2021 18:56:00 MSK
    969     Fixed configure '--enable-sanitizer' parameter.
    970     Stopped pushing of partial responses when limited by system maximum size
    971     for sendmsg(). -EG
    972 
    973 Web 14 Apr 2021 22:20:00 MSK
    974     Fixed: use sendmsg() in POSIX-compatible way, do not try to send more
    975     than IOV_MAX elements per single call. -EG
    976 
    977 Sun 11 Apr 2021 15:44:00 MSK
    978     Updated test TLS certificates to not expired modern versions, restored
    979     HTTPS examples compatibility with modern browsers.
    980     TCP_NODELAY is not pre-enabled for HTTPS connection as it actually
    981     does not speed-up TLS handshakes on moders OSes. -EG
    982 
    983 Thu 01 Apr 2021 21:29:46 MSK
    984     Fixed MD5 digest authorization broken when compiled without variable
    985     length arrays support (notably with MSVC).
    986     Fixed and muted compiler warning.
    987     Deeper test with zzuf if configured with --enable-heavy-tests.
    988     Removed run-check of assert() in configure to avoid core dumps. -EG
    989 
    990 Thu 01 Apr 2021 17:46:00 MSK
    991     Added new function MHD_run_wait() useful for single-threaded applications
    992     without other network activity.
    993     Added tests for the new function. -EG
    994 
    995 Wed 17 Mar 2021 20:53:33 MSK
    996     Re-factored startup log parameters processing. Warn user if wrong logger
    997     could be used potentially.
    998     Added headers doxy with information about minimal MHD version when
    999     particular symbols were introduced.
   1000     Added new daemon option to indicate SIGPIPE handling by application for
   1001     daemons being run in application thread. -EG
   1002 
   1003 Wed 24 Feb 2021 19:23:00 MSK
   1004     SIGPIPE-related macro minor refactoring for readability.
   1005     Added new response iov function (and related framework), based on the patch
   1006     provided by Lawrence Sebald and Damon N. Earp from NASA. -EG
   1007 
   1008 Thu 04 Feb 2021 06:41:34 PM CET
   1009     Fix PostProcessor to always properly stop iteration when application callback
   1010     tells it to do so. -CG
   1011 
   1012 Sun 24 Jan 2021 21:30:00 MSK
   1013     Added '--enable-heavy-tests' configure parameter.
   1014     Minor configure.ac and Makefiles fixes. -EG
   1015 
   1016 Tue 19 Jan 2021 17:59:00 MSK
   1017     Fixed compatibility with autoconf. 2.70
   1018     Updated M4 macros. -EG
   1019 
   1020 Wed 06 Jan 2021 08:39:58 PM CET
   1021     Return timeout of zero also for connections awaiting cleanup. -CG
   1022 
   1023 Tue 29 Dec 2020 15:39:00 MSK
   1024     Improved speed of TLS handshake by pre-enabling TCP_NODELAY. -EG
   1025 
   1026 Mon 28 Dec 2020 21:36:00 MSK
   1027     Releasing libmicrohttpd 0.9.72. -EG
   1028 
   1029 Mon 28 Dec 2020 09:37:00 MSK
   1030     Completely reworked and rewritten TCP_CORK, TCP_NOPUSH, TCP_NODELAY and
   1031     MSG_MORE handling. Reduced number of sys-calls, fixed portability for
   1032     FreeBSD, OpenBSD, NetBSD, Darwin, W32, Solaris.
   1033     Removed usage of gnutls_record_cork() as it fully blocks stream until
   1034     final block is ready.
   1035     Fixed compatibility with C90 compilers.
   1036     Really started using sendmsg() for header + body combined single-call
   1037     response sending.
   1038     Fixed sending of response body by sendmsg() when it shouldn't be sent,
   1039     like responses for HEAD requests.
   1040     Improved error handling for gnutls_record_send().
   1041     Updated W32 resources for .DLLs.
   1042     Fixed building with various disabled features (like messages, HTTPS,
   1043     http-upgrade, authorization etc.)
   1044     Fixed possible SIGPIPE generation when sendfile() is used (it was always
   1045     possible on Linux that sendfile() produce SIGPIPE, now it's fixed).
   1046     Several compiler warnings muted and/or fixed in the lib code and in
   1047     the examples. -EG
   1048 
   1049 Sun 01 Nov 2020 17:17:00 MSK
   1050     Fixed conflict with system CPU_COUNT macro.
   1051     Minor improvements of error reporting in MHD daemon.
   1052     Fixed FTBFS with GnuTLS versions before 3.1.9
   1053     Fixed test_add_conn for multi-CPU machines.
   1054     Fixed analyzer warnings.
   1055     Fixed use-after-free and resources leaks for upgraded connections
   1056     in TLS mode with thread-per-connection. -EG
   1057 
   1058 Sun 25 Oct 2020 19:31:00 MSK
   1059     Fixed epoll mode without listening socket.
   1060     Minor improvements of thread sync.
   1061     Fixed broken sendfile on FreeBSD.
   1062     Fixed broken MHD with thread-pool and without listening socket.
   1063     Added four tests for MHD_add_connection().
   1064     Fixed several resources leaks in error handlers.
   1065     Re-implemented scheme of handling of externally added connections,
   1066     fixed thread-safety. -EG
   1067 
   1068 Wed 21 Oct 2020 10:00:58 AM CEST
   1069     Corking should be OFF when sending the footer (#6610). -AP/CG
   1070 
   1071 Wed 07 Oct 2020 11:07:00 MSK
   1072     W32 default target version changed to Vista, XP is still supported.
   1073     Minor fixes and additional asserts for memorypool.
   1074     IPv6 tests are not used if IPv6 is disabled at run-time. -EG
   1075 
   1076 Sun 27 Sep 2020 10:08:03 PM CEST
   1077     Fixed incorrect triggering of epoll edge polling for
   1078     "upgraded" TLS connections.  Fixed a few cases where
   1079     gnutls_record_uncork() return value was still ignored,
   1080     possibly causing buffer to not be flushed correctly. -CG
   1081 
   1082 Sat 26 Sep 2020 08:18:02 PM CEST
   1083     Make MHD_USE_NO_LISTEN_SOCKET work in conjunction with
   1084     MHD internal threads. -CG/DE
   1085 
   1086 Thu 24 Sep 2020 16:55:00 MSK
   1087     Fixed compiler warnings on W32.
   1088     Minor optimisation of MHD_YES/MHD_NO internal usage.
   1089     Refactor and cleanup of internal debugging macros.
   1090     Updated HTTP status codes, header names and methods from
   1091     the registries.
   1092     Fixed portability of test_upgrade_large.
   1093     Minor testsuite fixes.
   1094     Restored parallel build of libmicrohttpd (except tests). -EG
   1095 
   1096 Fri 11 Sep 2020 10:08:22 PM CEST
   1097     Fix crash problem in PostProcessor reported by MD. -CG
   1098     Fix GnuTLS configure test to check for gnutls_record_uncork. -CG
   1099 
   1100 Wed 19 Aug 2020 09:40:39 AM CEST
   1101     Add logic to check on MHD_pool_reallocate() failure reported on the
   1102     mailinglist (will NOT yet fix the issue). -CG
   1103 
   1104 Sun 26 Jul 2020 01:56:54 PM CEST
   1105     Add MHD_create_response_from_pipe() to allow creating a response based
   1106     on data read from a pipe. -CG
   1107 
   1108 Fri Jul 10 15:04:51 CEST 2020
   1109     Fixed Postprocessor URL-encoded parsing if '%' fell on boundary. -CG/MD
   1110 
   1111 Thu 02 Jul 2020 09:56:23 PM CEST
   1112     Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG
   1113 
   1114 Sun 28 Jun 2020 09:36:01 PM CEST
   1115     Fix buffer overflow issue in URL parser.
   1116     Releasing libmicrohttpd 0.9.71. -CG
   1117 
   1118 Tue 16 Jun 2020 08:44:22 PM CEST
   1119     Add logic to try again if GNUtls uncork() fails. -CG
   1120 
   1121 Wed 10 Jun 2020 09:44:29 PM CEST
   1122     Fixed PostProcessor bug discovered by MD, which given certain parser
   1123     boundaries caused the returned values to be wrong. -CG/MD
   1124 
   1125 Wed 08 Apr 2020 10:53:01 PM CEST
   1126     Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much.
   1127     Note that this change WILL cause compiler warnings until (most) MHD callbacks
   1128     in application code change their return type from 'int' to 'enum MHD_Result'.
   1129     That said, avoiding possible confusions of different enums is going to make
   1130     the code more robust in the future. For conditional compilation, test
   1131     for "MHD_VERSION >= 0x00097002". -CG
   1132 
   1133 Tue 07 Apr 2020 02:58:39 PM BRT
   1134     Fixed #5501 (Added example for how to provide a tiny threaded websocket server). -SC
   1135 
   1136 Tue 31 Mar 2020 02:36:40 PM BRT
   1137     Fixed #6142 (applied several spelling fixes). -DKG/-SC
   1138 
   1139 Sat 07 Mar 2020 05:20:33 PM CET
   1140     Fixed #6090 (misc. severe socket handling bugs on OS X). -CG
   1141 
   1142 Sat 08 Feb 2020 09:12:54 PM CET
   1143     Fixed 100-continue handling for PATCH method (#6068).
   1144     Fixed FTBFS from wrong #endif position for certain builds (#6025).
   1145     Fixed connection overflow issue when combining MHD_USE_NO_LISTEN_SOCKET
   1146     with MHD_USE_THREAD_PER_CONNECTION (#6036).
   1147     Updated m4 script to fix FTBFS when using -Werror=unused-but-set-parameter (#6078).
   1148     Releasing libmicrohttpd 0.9.70. -CG
   1149 
   1150 Thu Dec 26 14:43:27 CET 2019
   1151     Adding fix for urlencoding of keys without values in
   1152     post-processor logic. -CG
   1153 
   1154 Tue 24 Dec 2019 03:32:18 PM CET
   1155     Adding patch from Ethan Tuttle with test case for urlencoding
   1156     in post-processor for keys without values. -CG/ET
   1157 
   1158 Sun 15 Dec 2019 02:12:02 PM CET
   1159     Fix send() call (affects Mac OS X). #5977 -CG/fbrault
   1160     Releasing libmicrohttpd 0.9.69. -CG
   1161 
   1162 Fri 29 Nov 2019 11:22:25 PM CET
   1163     If application suspends a connection before we could send 100 CONTINUE,
   1164     give application another shot at queuing a reply before the upload begins. -CG
   1165 
   1166 Sat 26 Oct 2019 06:53:05 PM CEST
   1167     Fix regression where MHD would fail to return an empty response
   1168     when used with HTTPS.
   1169     Releasing libmicrohttpd 0.9.68. -CG/TR
   1170 
   1171 Fri 25 Oct 2019 02:31:59 PM CEST
   1172     Introduce MHD_RF_INSANITY_HEADER_CONTENT_LENGTH. -CG
   1173 
   1174 Thu 17 Oct 2019 04:50:52 PM CEST
   1175     Integrate 0-byte send() method for uncorking for old FreeBSD/OS X
   1176     systems into new mhd_send.c logic for uncorking.
   1177     Releasing libmicrohttpd 0.9.67. -CG
   1178 
   1179 Fri 18 Aug 2019 00:00:00 PM UTC
   1180     Fixes and optimizations for the setsockopt handling:
   1181     * Added: MHD_UPGRADE_ACTION_CORK_ON and MHD_UPGRADE_ACTION_CORK_OFF
   1182       to enum MHD_UpgradeAction (turn corking on/off on the underlying
   1183       socket).
   1184     * Use calls and flags native to the system for corking and
   1185       other operations, tested with performance improvements on
   1186       FreeBSD, Debian Linux, NetBSD, and cygwin. In particular,
   1187       this adds selective usage of MSG_MORE, NODELAY, TCP_NOPUSH,
   1188       TCP_CORK. -ng0
   1189 
   1190 Fri 09 Aug 2019 10:07:27 AM CEST
   1191     Copy compiler and linker hardening flags from GNUnet (updating
   1192     configure.ac). -CG
   1193 
   1194 Thu 01 Aug 2019 01:23:36 PM CEST
   1195     Releasing libmicrohttpd 0.9.66. -CG
   1196 
   1197 Thu 01 Aug 2019 12:53:49 AM CEST
   1198     Fix issue with discarding unhandled upload data discovered
   1199     by Florian Dold. -CG
   1200 
   1201 Mon 29 Jul 2019 08:01:50 PM CEST
   1202     Fix hanging situation with large transmission over upgraded
   1203     (i.e. Web socket) connection with epoll() and HTTPS enabled
   1204     (as reported by Viet on the mailinglist). -CG
   1205 
   1206 Thu 25 Jul 2019 02:40:12 PM CEST
   1207     Fixing regression introduced in cc5032b85 (bit mask matching
   1208     of the header kinds in MHD_lookup_connection_value()), as
   1209     reported by Jose Bollo on the mailinglist. -CG/JB
   1210 
   1211 Tue Jul 16 19:56:14 CEST 2019
   1212     Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
   1213     and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for. -TR
   1214 
   1215 Fri Jul 05 2019 22:30:40 MSK
   1216 	Releasing libmicrohttpd 0.9.65. -EG
   1217 
   1218 Sun Jun 23 2019 21:27:43 MSK
   1219 	Many fixes and improvements for connection-specific memory pool:
   1220 	* Added asserts;
   1221 	* Added testing of reallocation;
   1222 	* Reallocation code rewritten to avoid extra allocation, when
   1223 	  possible to reuse already allocated memory;
   1224 	* Large memory pools aligned to system page size;
   1225 	* Large memory pools on W32 are cleared more securely after use,
   1226 	  optimised usage of system memory.
   1227 	Better handled connection's memory shortage situations:
   1228 	* error response could be sent to client even if all buffer space
   1229 	  was used;
   1230 	* if buffer space become low when receiving, do not allocate last
   1231 	  buffer space and use small receive blocks instead.
   1232 	Improved sending speed by using all available buffer space for
   1233 	sending. -EG
   1234 
   1235 Sun Jun 09 2019 20:27:04 MSK
   1236 	Releasing libmicrohttpd 0.9.64. -EG
   1237 
   1238 Sun Jun 09 2019 20:03:16 MSK
   1239 	Updated HTTP headers, methods and status codes from registries,
   1240 	Added scripts to import new headers, methods and status codes from
   1241 	registries,
   1242 	Minor doxyget comment fix,
   1243 	Added missing MSVS project files to tarball.
   1244 	Reodered includes in microhttpd.h -EG
   1245 
   1246 Mon 03 Jun 2019 11:45:52 PM CEST
   1247 	Apply MHD_-prefix to hash functions, even if they are not in the
   1248 	officially exported API. -CG/DB
   1249 
   1250 Sun Jun 02 01:52:11 MSK 2019
   1251 	Support usage of SOCK_NOSIGPIPE on Solaris 11.4 and NetBSD 7+,
   1252 	finally avoid SIGPIPE on Solaris. -EG
   1253 
   1254 Sat Jun 01 22:51:50 MSK 2019
   1255 	Do not report errors if AF_UNIX socket is used on *BSD. -EG
   1256 
   1257 Thu May 30 23:32:09 MSK 2019
   1258 	Improved detection of 'getsockname()' in configure.
   1259 	Avoided using 'getsockname()' in code if not detected. -EG
   1260 
   1261 Sun May 26 23:32:49 MSK 2019
   1262 	Fixed some tests on W32. -EG
   1263 
   1264 Sun May 26 23:05:42 MSK 2019
   1265 	Better detection of sockaddr member in configure, fixed build on *BSD,
   1266 	Fixed compiler warnings,
   1267 	Updated and fixed libcurl tests. -EG
   1268 
   1269 Tue May 21 22:12:43 MSK 2019
   1270 	Fixed doxygen comments,
   1271 	Avoid dropping 'const' qualifier in macros,
   1272 	Fixed some compiler warnings,
   1273 	Properly support automatic port detections on some platforms,
   1274 	Added checks for too long TLS parameters strings. -EG
   1275 
   1276 Tue May 21 17:52:48 MSK 2019
   1277 	Spelling fixes. -EG
   1278 
   1279 Mon May 20 15:39:35 MSK 2019
   1280 	Compiler warning fixes. -EG/CG
   1281 	Fixed example for non-64bits platforms. -EG
   1282 
   1283 Wed May 15 23:51:49 MSK 2019
   1284 	Optimized and improved processing speed by using precalculated and
   1285 	already calculated lengths of strings. -EG
   1286 
   1287 Wed May 15 14:54:00 MSK 2019
   1288 	Fixed build from source on GNU Hurd. -EG
   1289 
   1290 Mon May  6 11:58:00 MSK 2019
   1291 	Updated README and COPYING files. MHD remains LGPLv2.1-licensed. -EG
   1292 
   1293 Fri May  3 20:08:00 MSK 2019
   1294 	Store connection's keys and values with sizes;
   1295 	Speedup keys search be comparing key length first;
   1296 	Added functions for working with keys and values with binary zeros;
   1297 	Fixed test_postprocessor_amp to fail on problems. -EG
   1298 
   1299 Wed May  1 16:40:00 MSK 2019
   1300 	Reverted change of MHD_KeyValueIterator, implemented MHD_KeyValueIteratorN
   1301 	with sizes for connection's key and value to get keys and values
   1302 	with binary zeros. -EG
   1303 
   1304 Mon 29 Apr 2019 01:26:39 AM BRT
   1305 	Fixed signed/unsigned comparison in example http_chunked_compression.c. -SC/TR
   1306 
   1307 Sun Apr 21 16:40:00 MSK 2019
   1308 	Improved compatibility with MSVC compilers;
   1309 	Fixed MHD compilation by Clang/LLVM in VS;
   1310 	Used MSVC intrinsics for bit rotations and bytes swap;
   1311 	Added project files for VS2019. -EG
   1312 
   1313 Fri Apr 19 23:00:00 MSK 2019
   1314 	Rewritten SHA-256 calculations from scratch to avoid changing LGPL version;
   1315 	Added usage of GCC/Clang built-ins for bytes swap to significantly improve
   1316 	speed of MD5 and SHA-256 calculation on platforms with known endianness.
   1317 	Added test for SHA-256 calculations. -EG
   1318 
   1319 Wed Apr 17 20:52:00 MSK 2019
   1320 	Refactoring of mhd5.c: optimized, dead code removed;
   1321 	Faster MD5 calculation on little endian platforms;
   1322 	Bit manipulations moved to separate header file.
   1323 	Added tests for MD5 calculations. -EG
   1324 
   1325 Mon 15 Apr 2019 05:33:52 PM CEST
   1326 	Add MHD_USE_POST_HANDSHAKE_AUTH_SUPPORT and
   1327 	MHD_USE_INSECURE_TLS_EARLY_DATA flags. -CG
   1328 
   1329 Thu Apr 11 11:37:00 MSK 2019
   1330 	Fixed MSVC 'Release' builds;
   1331 	Fixed usage of MSVC's assert. -EG
   1332 
   1333 Wed Apr 10 14:31:00 MSK 2019
   1334 	Improved shell compatibility for 'bootstrap', removed bash-ism.
   1335 	Added wrapper script 'autogen.sh'. -EG
   1336 
   1337 Mon 08 Apr 2019 03:06:05 PM CEST
   1338 	Fix close() checks as suggested by MK on the mailinglist
   1339         (#3926). -MK/CG
   1340 
   1341 Wed 20 Mar 2019 10:20:24 AM CET
   1342 	Adding additional "value_length" argument to MHD_KeyValueIterator
   1343 	callback to support binary zeros in values.  This is done in a
   1344 	backwards-compatible way, but may require adding a cast to existing
   1345 	code to avoid a compiler warning. -CG
   1346 
   1347 Sun Feb 10 21:00:37 BRT 2019
   1348 	Added example for how to compress a chunked HTTP response. -SC
   1349 
   1350 Sun 10 Feb 2019 05:03:44 PM CET
   1351 	Releasing libmicrohttpd 0.9.63. -CG
   1352 
   1353 Sat 09 Feb 2019 01:51:02 PM CET
   1354 	Extended test_get to test URI logging and query string parsing
   1355 	to avoid regression fixed in previous patch in the future. -CG
   1356 
   1357 Thu Feb  7 16:16:12 CET 2019
   1358 	Preliminary patch for the raw query string issue, to be tested. -CG
   1359 
   1360 Tue Jan  8 02:57:21 BRT 2019
   1361 	Added minimal example for how to compress HTTP response. -SC
   1362 
   1363 Wed Dec 19 00:06:03 CET 2018
   1364 	Check for GNUTLS_E_AGAIN instead of GNUTLS_E_INTERRUPTED when
   1365 	giving up on a TLS connection. -LM/CG
   1366 
   1367 Thu Dec 13 22:48:14 CET 2018
   1368 	Fix connection timeout logic if in thread-per-connection mode the
   1369 	working thread takes longer than the timeout to queue the response. -CG
   1370 
   1371 Tue Dec 11 09:58:32 CET 2018
   1372 	Add logic to avoid VLA arrays with compilers that do not support them. -CG
   1373 
   1374 Sat Dec  8 23:15:53 CET 2018
   1375 	Fixed missing WSA_FLAG_OVERLAPPED which can cause W32 to block on
   1376 	socket races when using threadpool. (See very detailed description
   1377 	of the issue in the libmicrohttpd mailinglist post of today.) -JM
   1378 
   1379 Sat Dec  8 22:53:56 CET 2018
   1380 	Added test for RFC 7616 and documented new API.
   1381 	Releasing libmicrohttpd 0.9.62. -CG
   1382 
   1383 Sat Dec  8 17:34:58 CET 2018
   1384 	Adding support for RFC 7616, experimental, needs
   1385 	testing and documentation still! -CG
   1386 
   1387 Fri Dec  7 12:37:17 CET 2018
   1388 	Add option to build MHD without any threads
   1389 	and MHD_FEATURE_THREADS to test for it.  -CG
   1390 
   1391 Thu Dec  6 13:25:08 BRT 2018
   1392 	Renamed all occurrences from _model(s)_ to _mode(s)_. -SC
   1393 
   1394 Thu Dec  6 12:50:11 BRT 2018
   1395 	Optimized the function MHD_create_response_from_callback() for
   1396 	Windows by increasing its internal buffer size and allowed to customize
   1397 	it via macro MHD_FD_BLOCK_SIZE. -SC
   1398 
   1399 Thu Dec  6 02:11:15 BRT 2018
   1400 	Referenced the gnutls_load_file() function in the HTTPs examples. -SC
   1401 
   1402 Wed Dec  5 18:08:59 CET 2018
   1403 	Fix regression causing URLs to be unescaped twice. -CG
   1404 
   1405 Sun Nov 18 13:08:11 CET 2018
   1406 	Parse arguments with (properly) escaped URLs correctly.
   1407 	(making things work with recent cURL changes, #5473).
   1408 	Replace sprintf with snprintf in testcases.
   1409 	Releasing libmicrohttpd 0.9.61. -CG
   1410 
   1411 Wed Nov 14 14:01:21 CET 2018
   1412 	Fix build issue with GnuTLS < 3.0. -CG
   1413 
   1414 Mon Nov 12 19:50:43 CET 2018
   1415 	Fix #5473 (test case failure due to change in libcurl). -eworm
   1416 
   1417 Thu Nov  8 14:53:27 CET 2018
   1418 	Add MHD_create_response_from_buffer_with_free_callback. -CG
   1419 
   1420 Tue Nov  6 19:43:47 CET 2018
   1421 	Upgrading to gettext 0.19.8.
   1422 	Releasing libmicrohttpd 0.9.60. -CG
   1423 
   1424 Thu Nov  1 16:29:59 CET 2018
   1425 	Enable using epoll() without listen socket. -JB
   1426 
   1427 Sat Oct 20 12:44:16 CEST 2018
   1428 	In thread-per-connection mode, signal main thread for
   1429 	thread termination for instant clean-up and application
   1430 	notification about closed connections. -CG
   1431 
   1432 Tue Oct 16 20:43:41 CEST 2018
   1433 	Add MHD_RF_HTTP_VERSION_1_0_RESPONSE option to make MHD
   1434 	act more like an HTTP/1.0 server. -GH
   1435 
   1436 Fri Oct  5 18:44:45 CEST 2018
   1437 	MHD_add_response_header() now prevents applications from
   1438 	setting a "Transfer-Encoding" header to values other than
   1439 	"identity" or "chunked" as other transfer encodings are
   1440 	not supported by MHD. (Note that usually MHD will pick the
   1441 	transfer encoding correctly automatically, but applications
   1442 	can use the header to force a particular behavior.)
   1443 	Fixing #5411 (never set Content-length if Transfer-Encoding
   1444 	is given). -CG
   1445 
   1446 Sat Jul 14 11:42:15 CEST 2018
   1447 	Add MHD_OPTION_GNUTLS_PSK_CRED_HANDLER to allow use of PSK with
   1448 	TLS connections. -CG/TM
   1449 
   1450 Sat Jul 14 11:03:37 CEST 2018
   1451 	Integrate patch for checking digest authentication based on
   1452 	a digest, allowing servers to store passwords only hashed.
   1453 	Adding new function MHD_digest_auth_check_digest(). -CG/DB
   1454 
   1455 Sat Mar 10 12:15:35 CET 2018
   1456 	Upgrade to gettext-0.19.8.1. Switching to more canonical
   1457 	gettext integration. -CG
   1458 
   1459 Fri Mar  2 21:44:24 CET 2018
   1460 	Ensure MHD_RequestCompletedCallback is always called from
   1461 	the correct thread (even on shutdown and for upgraded connections). -CG
   1462 
   1463 Tue Feb 27 23:27:02 CET 2018
   1464 	Ensure MHD_RequestCompletedCallback is also called for
   1465 	upgraded connections. -CG
   1466 
   1467 Fri Feb 16 03:09:33 CET 2018
   1468 	Fixing #5278 as suggested by reporter. -CG/texec
   1469 
   1470 Thu Feb  1 10:12:22 CET 2018
   1471 	Releasing GNU libicrohttpd 0.9.59. -CG
   1472 
   1473 Thu Feb  1 08:39:50 CET 2018
   1474 	Fix masking operation. -CG/silvioprog
   1475 
   1476 Mon Jan 29 17:33:54 CET 2018
   1477 	Fix deadlock when failing to prepare chunked response
   1478 	(#5260). -CG/ghaderer
   1479 
   1480 Thu Jan  4 12:24:33 CET 2018
   1481 	Fix __clang_major__ related warnings for non-clang
   1482 	compilers reported by Tim on the mailinglist. -CG
   1483 
   1484 Mon Dec 11 17:11:00 MSK 2017
   1485 	Fixed tests on platforms with huge number of CPUs.
   1486 	Doxygen configuration was updated.
   1487 	Various doxygen fixes. -EG
   1488 
   1489 Mon Dec 07 21:08:00 MSK 2017
   1490 	Releasing GNU libmicrohttpd 0.9.58. -EG
   1491 
   1492 Mon Dec 07 16:01:00 MSK 2017
   1493 	Fixed HTTPS tests on modern platforms. -EG
   1494 
   1495 Mon Dec 04 15:43:00 MSK 2017
   1496 	Minor documentation installation fixes. -EG
   1497 
   1498 Mon Nov 27 22:58:38 CET 2017
   1499 	Tolerate AF_UNIX when trying to determine our binding port
   1500 	from socket.  Use `sockaddr_storage` instead of trying to
   1501 	guess the sockaddr type before calling getsockname(). -CG
   1502 
   1503 Mon Nov 27 22:24:00 MSK 2017
   1504 	Releasing GNU libmicrohttpd 0.9.57. -EG
   1505 
   1506 Mon Nov 27 21:36:00 MSK 2017
   1507 	Updated README. -EG
   1508 
   1509 Mon Nov 27 18:37:00 MSK 2017
   1510 	Corrected names in W32 DLL resources.
   1511 	Reordered and clarified configure summary message.
   1512 	Additional compiler warning mutes for builds with various configure
   1513 	parameters.
   1514 	Fixed tests on Cygwin.
   1515 	Used larger SETSIZE for Cygwin (same value as for native W32).
   1516 	Minor fixes for Cygwin.
   1517 	Added configure parameter to force disable usage of sendfile().
   1518 	Minor testsuite fixes.
   1519 	Really fixed builds with optimisation for size. -EG
   1520 
   1521 Sat Nov 25 18:37:00 MSK 2017
   1522 	Fixed build with optimisation for size. -EG
   1523 
   1524 Fri Nov 24 20:14:02 CET 2017
   1525 	Releasing GNU libmicrohttpd 0.9.56. -CG
   1526 
   1527 Thu Nov 23 17:40:00 MSK 2017
   1528 	Added MHD_FEATURE_SENDFILE enum value and report. -EG
   1529 
   1530 Thu Nov 23 08:56:00 MSK 2017
   1531 	Fixed receiving large requests in TLS mode with epoll.
   1532 	Improved GnuTLS and libgcrypt detection in configure, do not ignore
   1533 	flags in GNUTLS_{CFLAGS,LIBS} variables.
   1534 	Added special trick for Solaris/Openindiana to find GnuTLS-3 with
   1535 	right bitness.
   1536 	Added support for Solaris sendfile(3) function.
   1537 	Fixed dataraces with thread ID on W32 and pthread. Now check for
   1538 	correct thread in MHD_queue_response() works correctly.
   1539 	Fixed and silenced compiler warnings in tests and examples.
   1540 	Removed usage of TLS flags in examples where TLS is not required.
   1541 	Added support for MultiSSL in https tests with libcurl >= 7.56.0.
   1542 	Improved detection of OFF_T_MAX, SIZE_MAX. Added macros for
   1543 	SSIZE_MAX in mhd_limits.h. There are some platforms that really
   1544 	require those macros.
   1545 	Added support for Darwin's sendfile() function.
   1546 	Updated .gitignore files.
   1547 	Reworked mhd_sys_extentions.m4 with better support of modern
   1548 	platforms, more reliable detection of required macros, and
   1549 	detection of disabling of system-specific features by
   1550 	_XOPEN_SOURCE macro. -EG
   1551 
   1552 Wed Nov  1 20:43:00 MSK 2017
   1553 	Mixed and muted many compiler warnings. Now GCC's flags
   1554 	-Wall -Wextra could be used for building.
   1555 	Fixed compilation of examples without libmagic.
   1556 	Better detection of libgnutls in configure.
   1557 	Reworked launch of nested configure in "po" directory to
   1558 	prevent useless reconfiguration.
   1559 	Fixed some wrong asserts.
   1560 	Enabled "test_options" test.
   1561 	Use "test_start_stop" without libcurl.
   1562 	Use chunks with sendfile() to prevent locking thread for
   1563 	single connection with large file.
   1564 	Added support for FreeBSD's sendfile with additional
   1565 	optimisations for FreeBSD 11.
   1566 	Refactoring and improvements for MHD_start_daemon_va() and
   1567 	MHD_stop_daemon().
   1568 	Fixed testing with GnuTLS >= 3.6.0. -EG
   1569 
   1570 Mon Oct  9 22:38:07 CEST 2017
   1571 	Add MHD_free() to allow proper free()-ing of username/password
   1572 	data returned via MHD_digest_auth_get_username() or
   1573 	MHD_basic_auth_get_username_password() on Windows. -CG
   1574 
   1575 Tue Sep 26 14:00:58 CEST 2017
   1576 	Fixing race involving setting "at_limit" flag. -CG
   1577 
   1578 Tue Sep 08 21:39:00 MSK 2017
   1579 	Fixed build of examples when MHD build with non-pthread lib.
   1580 	MHD_queue_response(): added check for using in correct thread.
   1581 	Fixed sending responses larger 16 KiB in TLS mode with epoll.
   1582 	Improved doxy for MHD_get_timeout() and related functions.
   1583 	Minor internal refactoring. -EG
   1584 
   1585 Tue Jul 23 11:32:00 MSK 2017
   1586 	Updated chunked_example.c to provide real illustration of usage of
   1587 	chunked encoding. -EG
   1588 
   1589 Thu Jul 13 21:41:00 MSK 2017
   1590 	Restored SIGPIPE suppression in TLS mode.
   1591 	Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE so application could
   1592 	check whether SIGPIPE handling is required.
   1593 	Used GNUTLS_NONBLOCK for TLS sessions. -EG
   1594 
   1595 Tue Jun 20 23:52:00 MSK 2017
   1596 	Libgcrypt is now optional and required only for old GnuTLS versions. -EG
   1597 
   1598 Wed Jun 14 21:42:00 MSK 2017
   1599 	Added support for debug assert() and new configure parameter
   1600 	--enable-asserts for debug builds.
   1601 	Removed non-functional Symbian support. -EG
   1602 
   1603 Mon Jun 05 23:34:00 MSK 2017
   1604 	More internal refactoring:
   1605 	merged MHD_tls_connection_handle_read/write() with non-TLS version,
   1606 	reduced and unified number of layers for network processing (before
   1607 	refactoring MHD_tls_connection_handle_read->MHD_connection_handle_read->
   1608 	do_read->recv_tls_adapter->GnuTLS->recv_param_adapter - 5 MHD layers;
   1609 	after refactoring MHD_connection_handle_read->recv_tls_adapter->GnuTLS -
   1610 	2 MHD layers),
   1611 	simplified and removed dead code from
   1612 	MHD_connection_handle_read/write() without functional change. -EG
   1613 
   1614 Mon Jun 05 22:20:00 MSK 2017
   1615 	Internal refactoring:
   1616 	used TCP sockets directly with GnuTLS (performance improvement),
   1617 	moved some connection-related code from daemon.c to
   1618 	connection.c/connection_https.c,
   1619 	removed hacks around sendfile() and implemented correct support of
   1620 	sendfile(),
   1621 	removed do_read() and do_write() to reduce number of layer around send()
   1622 	and recv() and to improve readability and maintainability of code,
   1623 	implemented separate tracking of TLS layer state, independent of HTTP
   1624 	connection stage. -EG
   1625 
   1626 Sun Jun 04 15:02:00 MSK 2017
   1627 	Improved thread-safety of MHD_add_connection() and
   1628 	internal_add_connection(), minor optimisations. -EG
   1629 
   1630 Sun May 28 23:26:00 MSK 2017
   1631 	Releasing GNU libmicrohttpd 0.9.55. -EG
   1632 
   1633 Sun May 21 18:48:00 MSK 2017
   1634 	Fixed build with disabled "UPGRADE".
   1635 	Fixed possible null-dereference in HTTPS test.
   1636 	Fixed compiler warning in process_request_body(), minor optimizations.
   1637 	Do not allow suspend of "upgraded" connections.
   1638 	Fixed returned value for MHD_CONNECTION_INFO_CONNECTION_SUSPENDED.
   1639 	Fixed removal from timeout lists of non-existing connections in
   1640 	cleanup_connection().
   1641 	Fixed double locking of mutex. -EG
   1642 
   1643 Sun May 14 15:05:00 MSK 2017
   1644 	Fixed resuming connections and closing upgraded connections in select()
   1645 	mode with thread-per-connection. -EG
   1646 
   1647 Sun May 14 14:49:00 MSK 2017
   1648 	Removed extra call to resume connections in MHD_run().
   1649 	Handle resumed connection without delay in epoll mode.
   1650 	Update states of resumed connection after resume in thread-per-connection
   1651 	mode.
   1652 	Fixed resuming connections and closing upgraded connections in poll()
   1653 	mode with thread-per-connection. -EG
   1654 
   1655 Thu May 11 22:37:00 MSK 2017
   1656 	Faster start really processing data in resumed connections. -EG
   1657 
   1658 Thu May 11 14:24:00 MSK 2017
   1659 	Do not add any "Connection" headers for "upgrade" connections. -EG
   1660 
   1661 Wed May 10 23:09:00 MSK 2017
   1662 	Resume resuming connection before other processing in external polling
   1663 	mode. -EG
   1664 
   1665 Tue May  9 23:16:00 MSK 2017
   1666 	Fixed: Do not add "Connection: Keep-Alive" header for "upgrade"
   1667 	connections. -EG
   1668 
   1669 Tue May  9 21:01:00 MSK 2017
   1670 	Fixed: check all "Connection" headers of request for "Close" and "Upgrade"
   1671 	tokens instead of using only first "Connection" header with full string
   1672 	match. -EG
   1673 
   1674 Tue May  9 12:28:00 MSK 2017
   1675 	Revert: continue match footers in MHD_get_response_header() for backward
   1676 	compatibility. -EG
   1677 
   1678 Mon May  8 19:30:00 MSK 2017
   1679 	Fixed: use case-insensitive matching for header name in
   1680 	MHD_get_response_header(), match only headers (not footers). -EG
   1681 
   1682 Fri May  5 20:57:00 MSK 2017
   1683 	Fixed null dereference when connection has "Upgrade" request and
   1684 	connection is not upgraded.  -JB/EG
   1685 	Better handle Keep-Alive/Close. -EG
   1686 
   1687 Tue May  2 18:37:53 CEST 2017
   1688 	Update manual. -CG
   1689 	Add MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE.
   1690 	Releasing GNU libmicrohttpd 0.9.54. -CG
   1691 
   1692 Thu Apr 27 22:31:00 CEST 2017
   1693 	Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS by
   1694 	single option MHD_OPTION_STRICT_FOR_CLIENT. Flag MHD_USE_PEDANTIC_CHECKS
   1695 	is still supported. -EG
   1696 
   1697 Tue Apr 26 15:11:00 CEST 2017
   1698 	Fixed shift in HTTP reasons strings.
   1699 	Added test for HTTP reasons strings. -EG
   1700 
   1701 Tue Apr 25 19:11:00 CEST 2017
   1702 	Allow flag MHD_USE_POLL with MHD_USE_THREAD_PER_CONNECTION and without
   1703 	flag MHD_USE_INTERNAL_POLLING_THREAD for backward compatibility. -EG
   1704 
   1705 Mon Apr 24 17:29:45 CEST 2017
   1706 	Enforce RFC 7230's rule on no whitespace by default,
   1707 	introduce new MHD_USE_PERMISSIVE_CHECKS to disable. -CG
   1708 
   1709 Sun Apr 23 20:05:44 CEST 2017
   1710 	Enforce RFC 7230's rule on no whitespace in HTTP header
   1711 	field names if MHD_USE_PEDANTIC_CHECKS is set. -CG
   1712 
   1713 Sun Apr 23 19:20:33 CEST 2017
   1714 	Replace remaining occurrences of sprintf() with
   1715 	MHD_snprintf_(). Thanks to Ram for pointing this out. -CG
   1716 
   1717 Sat Apr 22 20:39:00 MSK 2017
   1718 	Fixed builds in Linux without epoll.
   1719 	Check for invalid --with-thread= configure parameters.
   1720 	Fixed support for old libgcrypt on W32 with W32 threads. -EG
   1721 
   1722 Tue Apr 11 22:17:00 MSK 2017
   1723 	Releasing GNU libmicrohttpd 0.9.53. -EG
   1724 
   1725 Mon Apr 10 19:50:20 MSK 2017
   1726 	HTTPS tests: skip tests instead of failing if HTTPS is not supported by
   1727 	libcurl.
   1728 	HTTPS tests: fixed return values so testsuite is able to correctly
   1729 	interpret it.
   1730 	Fixed ignored result of epoll test in test_https_get_select. -EG
   1731 
   1732 Thu Apr 06 23:02:07 MSK 2017
   1733 	Make zzuf tests compatible with *BSD platforms. -EG
   1734 
   1735 Thu Apr 06 22:14:22 MSK 2017
   1736 	Added warning for hypothetical extra large timeout.
   1737 	Fixed incorrect timeout calculation under extra rare conditions.
   1738 	Fixed accidental usage of IPv6 in testsuite in specific conditions. -EG
   1739 
   1740 Wed Apr 05 14:14:22 MSK 2017
   1741 	Updated autoinit_funcs.h to latest upstream version with proper support of
   1742 	Oracle/Sun compiler. -EG
   1743 
   1744 Wed Apr 05 12:53:26 MSK 2017
   1745 	Fixed some compiler warnings.
   1746 	Fixed error snprintf() errors detection in digestauth.c.
   1747 	Converted many run-time 'strlen()' to compile-time calculations. -EG
   1748 
   1749 Sun Mar 26 13:49:01 MSK 2017
   1750 	Internal refactoring for simplification and unification.
   1751 	Minor optimizations and minor fixes.
   1752 	MHD_USE_ITC used again in thread pool mode. -EG
   1753 
   1754 Sat Mar 25 20:58:24 CET 2017
   1755 	Remove dead MHD_strx_to_sizet-functions and associated
   1756 	test cases from code. -CG
   1757 
   1758 Sat Mar 25 20:40:10 CET 2017
   1759 	Allow chunk size > 16 MB (up to 2^64-1). Ignore
   1760 	chunk extensions instead of triggering an error.
   1761 	(fixes #4967). -CG
   1762 
   1763 Tue Mar 25 20:59:18 MSK 2017
   1764 	Check for invalid combinations of flags and options in
   1765 	MHD_start_daemon(). -EG
   1766 
   1767 Tue Mar 21 13:51:04 CET 2017
   1768 	Use "-lrt" to link libmicrohttpd if we are using
   1769 	clock_gettime() as needed by glibc < 2.17. -CG
   1770 
   1771 Tue Mar 21 13:42:07 CET 2017
   1772 	Allow chaining of suspend-resume calls withuot
   1773 	the application processing data from the network. -CG
   1774 
   1775 Mon Mar 20 0:51:24 MSK 2017
   1776 	Added autoconf module for detection whatever shutdown of listening socket
   1777 	trigger select. This is only reliable method to use such feature as some
   1778 	platforms change behaviour from version to version. -EG
   1779 
   1780 Sun Mar 19 13:57:30 MSK 2017
   1781 	Rewritten logic of handling "upgraded" TLS connections in epoll mode:
   1782 	used edge trigger instead of level trigger,
   1783 	upgraded "ready" connection are stored in DL-list,
   1784 	fixed handling of more than 128 ready connections,
   1785 	fixed busy-waiting for idle "upgraded" TLS connections. -EG
   1786 
   1787 Fri Mar 17 10:45:31 MSK 2017
   1788 	If read buffer is full, MHD need to receive remote data and application
   1789 	suspended connection, do not fail while connection is suspended and give
   1790 	application one more chance to read data from buffer once connection is
   1791 	resumed. -EG
   1792 
   1793 Thu Mar 16 23:45:29 MSK 2017
   1794 	Allow again to run MHD in external epoll mode by
   1795 	MHD_run_from_select() - this allow unification of user code
   1796 	and produce no harm for performance. Especially useful with
   1797 	MHD_USE_AUTO flag. -EG
   1798 
   1799 Thu Mar 16 23:12:07 MSK 2017
   1800 	Idle connection should be disconnected *after* "timeout" number of
   1801 	second, not *before* this number. -EG/VT
   1802 
   1803 Thu Mar 16 22:31:54 MSK 2017
   1804 	Unified update of last activity on connections.
   1805 	Update last activity only if something is really transmitted.
   1806 	Update last activity each time when something is transmitted.
   1807 	Removed early duplicated check for timeout on HTTPS connections.
   1808 	Removed update of last active time for connections without timeout.
   1809 	Fixed reset of timeout timer on resumed connections.
   1810 	Fixed never-expired timeouts on HTTPS connections.
   1811 	Fixed thread-safety of MHD_set_connection_option(). -EG
   1812 
   1813 Thu Mar 16 21:05:08 MSK 2017
   1814 	Fixed minor bug resulted in slight slowdown of HTTPS connection
   1815 	handshake. -EG
   1816 
   1817 Thu Mar 16 20:35:59 MSK 2017
   1818 	Improved thread-safety for DL-lists. -EG
   1819 
   1820 Thu Mar 16 17:55:01 MSK 2017
   1821 	Fixed thread-safety of MHD_get_daemon_info() for
   1822 	MHD_DAEMON_INFO_CURRENT_CONNECTIONS. -EG
   1823 
   1824 Thu Mar 16 16:49:07 MSK 2017
   1825 	Added ability to get actual daemon flags via MHD_get_daemon_info().
   1826 	Fixed test_upgrade to work in request mode.
   1827 	Fixed compiler warnings in test_upgrade. -EG
   1828 
   1829 Wed Mar 15 23:29:59 MSK 2017
   1830 	Prevented socket read/write if connection is suspended.
   1831 	Added missing resets of 'connection->in_idle'.
   1832 	Reworked handling of suspended connection: ensure that
   1833 	connection is not disconnected by timeout, always
   1834 	updated read/write states right after suspending. -EG
   1835 
   1836 Wed Mar 15 21:02:26 MSK 2017
   1837 	Added new enum value MHD_CONNECTION_INFO_CONNECTION_TIMEOUT
   1838 	to get connection timeout by MHD_get_connection_info(). -EG
   1839 
   1840 Sat Mar 11 12:03:45 CET 2017
   1841 	Fix largepost example from tutorial to properly generate
   1842 	error pages. -CG
   1843 	Fix largepost example, must only queue replies either before upload
   1844 	happens or after upload is done, not while upload is ongoing
   1845 
   1846 Fri Mar 10 16:37:12 CET 2017
   1847 	Fix hypothetical integer overflow for very, very large
   1848 	timeout values. -CG
   1849 
   1850 Fri Mar 10 16:22:54 CET 2017
   1851 	Handle case that we do not listen at all more gracefully
   1852 	in MHD_start_daemon() and not pass '-1' to helper functions
   1853 	that expect a valid socket. -CG
   1854 
   1855 Tue Mar  7 12:11:44 BRT 2017
   1856 	Updates file `.gitignore`.
   1857 
   1858 Tue Mar  7 10:37:45 BRT 2017
   1859 	Updated the MHD_OPTION_URI_LOG_CALLBACK's documentation.
   1860 
   1861 Mon Mar  6 21:46:59 BRT 2017
   1862 	Added the i18n example fixing #4924. -SC
   1863 
   1864 Wed Mar 1 23:47:05 CET 2017
   1865 	Minor internal optimisations.
   1866 	Changed closure connection monitoring logic: now all connections are
   1867 	monitored for OOB data (which treated as error), connections are not
   1868 	monitored any more for incoming data if incoming data is not required for
   1869 	processing. except_fd_set is not optional now for MHD_get_fdset(),
   1870 	MHD_get_fdset2() and MHD_run_from_select().
   1871 	Improved connection processing in epoll mode: now connection can process
   1872 	both read and write each turn.
   1873 	Updated HTTP response codes; updated and added all missing standard HTTP
   1874 	headers names (and headers categories); updated and added all missing
   1875 	standard and additional HTTP methods. Now MHD return status
   1876 	MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE (431) instead of old
   1877 	MHD_HTTP_REQUEST_ENTITY_TOO_LARGE (413) for very long header.
   1878 	Reworked handling of data pending in TLS buffers, resolved busy-waiting
   1879 	if incoming data is pending in TLS buffers and connection is in
   1880 	LOOP_INFO_WRITE mode.
   1881 	Do not clear 'ready' flag in epoll mode if send()/recv() result is
   1882 	EINTERRUPTED.
   1883 	Better detection of unready connection state: used less number of calls of
   1884 	recv()/send() in epoll mode.
   1885 	Configure: do not run gcrypt and GnuTLS tests if HTTPS is disabled by
   1886 	configure parameter.
   1887 	Fixed wrong value returned by MHD_get_timeout().
   1888 	All double-linked lists now walked from tail to head. As new items are
   1889 	added to head, this result in more uniform processing time.
   1890 	Improved sockets errors handling in epoll mode.
   1891 	OOB data on 'upgraded' sockets is treated as error. -EG
   1892 
   1893 Thu Feb 16 11:20:05 CET 2017
   1894 	Replace tsearch configure check with code from gnulib. -CG
   1895 
   1896 Wed Feb 15 13:35:36 CET 2017
   1897 	Fixing a few very rare race conditions for thread-pool or
   1898 	thread-per-connection operations during shutdown.
   1899 	Various minor cosmetic improvements.
   1900 	Fixed #4884 and #4888 (solaris portability issues). -CG
   1901 
   1902 Wed Feb 08 22:33:10 MSK 2016
   1903 	Ported test_quiesce_stream to W32.
   1904 	Improved precompiler flags selection of OpenBSD.
   1905 	Fixed sending responses backed by files not supported by sendfile().
   1906 	Fixed thread safety for responses backed by file FD.
   1907 	Updated fileserver_example.
   1908 	Improved handling of 'upgraded' TLS forwarding in select() and poll()
   1909 	modes.
   1910 	Fixed processing of incoming TLS data in epoll mode if more than 128
   1911 	connections are active.
   1912 	Fixed accepting more than 128 incoming connection in epoll mode.
   1913 	Improved test_large_put, added poll() and epoll testing.
   1914 	Added test_large_put_inc for testing of incremental buffer processing.
   1915 	Rewritten epoll connection processing logic: handle all connection one
   1916 	time per turn instead of trying to handle all active connection until all
   1917 	pending data is dried. Result is more uniform connection processing
   1918 	period. -EG
   1919 
   1920 Wed Nov 23 15:24:10 MSK 2016
   1921 	Used SO_REUSEADDR (on non-W32) alongside with SO_REUSEPORT if option
   1922 	MHD_OPTION_LISTENING_ADDRESS_REUSE was set. -EG
   1923 
   1924 Wed Nov 23 12:48:23 MSK 2016
   1925 	Move all gettext-related staff to 'po' subdirectory.
   1926 	Excluded gettext files generation from normal build.
   1927 	Removed generated files from GIT. -EG
   1928 
   1929 Tue Nov 15 19:08:43 MSK 2016
   1930 	Fixed forwarding "upgraded" TLS connections for
   1931 	chunks sizes larger than buffer size. -EG
   1932 
   1933 Mon Nov 14 22:18:30 MSK 2016
   1934 	Fixed unintentional usage of SO_REUSEADDR on W32.
   1935 	Added support for SO_EXCLBIND on Solaris.
   1936 	Fixed using MHD with MHD_OPTION_LISTENING_ADDRESS_REUSE
   1937 	on Linux kernels before 3.9 (longterm 3.2 and 3.4
   1938 	are still supported). -EG
   1939 
   1940 Sun Nov 13 19:16:38 CET 2016
   1941 	Fixed a few race issues on suspend-resume in cases where the
   1942 	application uses threads even though MHD did not (or at least
   1943 	had no internal need for locking). Also fixed DLL handling of
   1944 	the timeout list, avoiding manipulating it for suspended
   1945 	connections.  Finally, eliminated calling application logic
   1946 	on suspended connections (which before could happen under
   1947 	certain circumstances). -CG
   1948 
   1949 Thu Nov 11 20:49:23 MSK 2016
   1950 	Added support for various forms of
   1951 	pthread_attr_setname_np() so thread names will be set
   1952 	more efficiently on certain platforms (Solaris, NetBSD etc.) -EG
   1953 
   1954 Thu Nov 10 21:50:35 MSK 2016
   1955 	Added rejection in MHD_start_daemon() of invalid combinations
   1956 	of daemon flags.
   1957 	Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD for
   1958 	automatic selection of polling function depending on
   1959 	platform capabilities and requested mode. -EG
   1960 
   1961 Thu Nov 10 17:49:56 MSK 2016
   1962 	Ported "upgrade" tests to W32 and other platforms, used
   1963 	"gnutls-cli" instead of "openssl" in tests, minor bugs
   1964 	fixed, added verbose reporting if requested.
   1965 	"Upgrade" processing - changed internal handling logic, improved
   1966 	and refactored, bugs fixed, fixed sigpipe on Darwin, added
   1967 	printing error to log, fixed compilation without HTTPS.
   1968 	Added 'configure' parameter "--disable-httpupgrade" for building
   1969 	minimal-sized MHD versions.
   1970 	Added feature check "MHD_FEATURE_UPGRADE".
   1971 	Responses destroyed (freed) earlier if possible.
   1972 	Added many remarks in code comments about thread safety.
   1973 	Some data races and other multithread-related issues are fixed,
   1974 	including usage of closed sockets (may resulted in accidental closing
   1975 	of wrong socket).
   1976 	SO_NOSIGPIPE is used on all platform which support it, not only
   1977 	on Darwin.
   1978 	Added support for suspending connections in thread-per-connection
   1979 	mode (itself almost useless, mostly to unify modes support).
   1980 	Fixed Inter-Thread Communication channel usage in epoll modes.
   1981 	Reworked daemon cleanups and handling MHD_stop_daemon(): resources
   1982 	are freed only by specific threads, data races and other fixes.
   1983 	Started usage of C99 standard 'bool' where supported with
   1984 	fallback to 'int'.
   1985 	Renamed many MHD flags. Now they are self-explainable and more
   1986 	obvious, like MHD_USE_INTERNAL_POLLING_THREAD instead of
   1987 	MHD_USE_SELECT_INTERNALLY. Old flag names are supported for
   1988 	backward compatibility.
   1989 	Improved processing of "fast" connections: now full sequence
   1990 	"read request - send reply headers - send reply body" is processed
   1991 	after single select()/poll(). If connection is slow, request is huge
   1992 	or response in not immediately ready - connection will be processed
   1993 	in "traditional" way.
   1994 	Added usage of "calloc()" where supported.
   1995 	Minor documentation fixes.
   1996 	Minor improvements and fixes. -EG
   1997 	"Upgrade" test fixes.
   1998 	Documentation updated.
   1999 	Added HTTP "Upgrade" example. -CG
   2000 
   2001 Mon Oct 17 19:08:18 CEST 2016
   2002 	Fixed misc. issues relating to upgrade.
   2003 	Releasing experimental 0.9.52. -CG
   2004 
   2005 Wed Oct 12 14:26:20 CEST 2016
   2006 	Migrated repository from Subversion to Git. -CG
   2007 
   2008 Tue Oct 11 18:09:56 CEST 2016
   2009 	Deprecated MHD_USE_SSL, use MHD_USE_TLS instead. -CG
   2010 
   2011 Tue Oct 11 18:14:40 MSK 2016
   2012 	Code internal refactoring: 'pipes' renamed to 'inter-thread
   2013 	communication (channels)/ITCs', as code can use different types
   2014 	of communications.
   2015 	Optimizations: ITCs now always created in non-blocking mode.
   2016 	Added configure parameter to choose ITC type.
   2017 	Updated documentation and comments.
   2018 	Minor errors fixed (related to heavy load). -EG
   2019 
   2020 Thu Sep 22 17:51:04 CEST 2016
   2021 	Implementing support for eventfd() instead of pipe() for
   2022 	signaling (on platforms that support it); fixing #3557. -CG
   2023 
   2024 Thu Sep 22 11:03:43 CEST 2016
   2025 	Simplify internal error handling logic by folding it into the
   2026 	MHD_socket_close_, MHD_mutex_lock_, MHD_mutex_unlock_ and
   2027 	MHD_mutex_destroy_ functions. -CG
   2028 
   2029 Tue Sep 13 22:20:26 MSK 2016
   2030 	Added autoconf macro to enable maximum platform
   2031 	features. Fixed compiling on Solaris. -EG
   2032 
   2033 Wed Sep  7 12:57:57 CEST 2016
   2034 	Fixing #4641. -Hawk
   2035 
   2036 Wed Sep  7 00:28:59 CEST 2016
   2037 	Adding remaining "_"-markups for i18n (#4614). -CG
   2038 
   2039 Tue Sep  6 23:39:56 CEST 2016
   2040 	Allow out-of-order nonces for digest authentication (#4636). -CG
   2041 
   2042 Tue Sep  6 21:29:09 CEST 2016
   2043 	Martin was right, "socket_context" should be "void *"
   2044 	in `union MHD_ConnectionInfo`.  -MS
   2045 
   2046 Sun Sep  4 18:16:32 CEST 2016
   2047 	Fixing potential memory leak (#4634). -CG
   2048 
   2049 Sun Sep  4 17:25:45 CEST 2016
   2050 	Tests for "Upgrade" logic are now in place and passing.
   2051 	However, still need to make sure code is portable. -CG
   2052 
   2053 Sat Sep  3 11:56:20 CEST 2016
   2054 	Adding logic for handling HTTP "Upgrade" in thread-per-connection
   2055 	mode. Also still untested. -CG
   2056 
   2057 Sat Aug 27 21:01:43 CEST 2016
   2058 	Adding a few extra safety checks around HTTP "Upgrade"
   2059 	(against wrong uses of API), and a testcase. -CG
   2060 
   2061 Sat Aug 27 20:07:53 CEST 2016
   2062 	Adding completely *untested* logic for HTTP "Upgrade"
   2063 	handling. -CG
   2064 
   2065 Sat Aug 27 18:20:38 CEST 2016
   2066 	Releasing libmicrohttpd 0.9.51. -CG
   2067 
   2068 Tue Aug 23 22:54:07 MSK 2016
   2069 	Internal refactoring: W32 compatibility layer was finally
   2070 	replaced with several specialized abstraction layers for
   2071 	sockets, control pipes (inter-thread communication) and
   2072 	generic functions. Now all major platform functions
   2073 	(including threads and mutex) are implemented in thin
   2074 	abstraction layers.
   2075 	Improved performance on W32 due to eliminating
   2076 	translation of error to POSIX codes and using W32 codes
   2077 	directly (through macros).
   2078 	Improved error reporting on all platforms.
   2079 	Improved error handling and reporting on Darwin.
   2080 	Minor fixes. -EG
   2081 
   2082 Tue Aug 16 15:14:30 MSK 2016
   2083 	Minor improvement for monotonic clock.
   2084 	Minor configure fix for non-bash shells. -EG
   2085 
   2086 Mon Aug 15 13:06:52 CEST 2016
   2087 	Fixed possible crash due to write to read-only region of
   2088 	memory given ill-formed HTTP request (write was otherwise
   2089 	harmless, writing 0 to where there was already a 0).
   2090 	Fixed issue with closed connection slots not immediately
   2091 	being available again for new connections if we reached
   2092 	our connection limit.
   2093 	Avoid even accept()ing connections in certain thread modes
   2094 	if we are at the connection limit and
   2095 	MHD_USE_PIPE_FOR_SHUTDOWN is available. -CG
   2096 
   2097 Wed Aug 10 16:42:57 MSK 2016
   2098 	Moved threads, locks and mutex abstraction to separate files,
   2099 	some minor errors fixed, added support for thread name functions
   2100 	on various platforms, added configure flag for disable thread
   2101 	naming. -EG
   2102 
   2103 Sat Jul 23 20:45:51 CEST 2016
   2104 	Added macro detection of speed/size compiler optimization.
   2105 	Added different implementation of functions in mhd_str.c for
   2106 	size optimization. Enabled automatically if compiler size
   2107 	optimization is detected or MHD_FAVOR_SMALL_CODE is defined.
   2108 	Added unit tests for all mhd_str.c functions. -EG
   2109 
   2110 Sat Jul 16 21:54:49 CEST 2016
   2111 	Warn user if they sent connection into blocking
   2112 	state by not processing all POST data, not suspending,
   2113 	and not running in external select mode. -CG
   2114 
   2115 Fri Jul  8 21:35:07 CEST 2016
   2116 	Fix FIXME in tutorial. -CG
   2117 
   2118 Fri Jul  8 15:57:06 CEST 2016
   2119 	Adding support for 308 status code. -CG
   2120 
   2121 Sat Jun 25 13:49:31 CEST 2016
   2122 	Use shutdown to trigger select on NetBSD. -EG
   2123 
   2124 Thu Jun  2 09:55:50 CEST 2016
   2125 	Releasing libmicrohttpd 0.9.50. -CG
   2126 
   2127 Wed Jun  1 21:59:34 CEST 2016
   2128 	Do not send "Content-Length" header for 1xx/204/304 status codes. -CG
   2129 
   2130 Tue May 17 13:32:21 CEST 2016
   2131 	Allow clients to determine whether a connection is suspended;
   2132 	introduces MHD_CONNECTION_INFO_CONNECTION_SUSPENDED. -CG/FC
   2133 
   2134 Sun May 15 12:17:25 CEST 2016
   2135 	Fix handling system or process resource limit exhaustion upon
   2136 	accept(). -CG/CP
   2137 
   2138 Thu May 12 08:42:19 CEST 2016
   2139 	Fix handling of partial writes in MHD_USE_EPOLL_LINUX_ONLY; only
   2140 	consider sockets returning EAGAIN as unready. -CG/CP
   2141 
   2142 Mon May  2 06:08:26 CEST 2016
   2143 	Adding logic to help address FE performance issue as
   2144 	discussed on the mailinglist with subject
   2145         "single-threaded daemon, multiple pending requests, responses batched".
   2146 	The new logic is only enabled when MHD_USE_EPOLL_TURBO is set.
   2147 	Note that some additional refactoring was also done to clean up
   2148 	the code and avoid code duplication, which may have actually fixed
   2149 	an unrelated issue with HTTPS and a POLL-style event loop. -CG
   2150 
   2151 Sat Apr 30 10:22:37 CEST 2016
   2152 	Added clarifications to manual based on questions on list. -CG
   2153 
   2154 Sat Apr 23 20:12:01 CET 2016
   2155 	Tests perf_get_concurrent and test_concurrent_stop ported to use
   2156 	pthread instead of fork(). Added more error detections. -EG
   2157 
   2158 Sat Apr 23 16:06:30 CET 2016
   2159 	Improved test_quiesce test. -EG
   2160 
   2161 Sat Apr 23 15:39:38 CET 2016
   2162 	Notify other threads in MHD_quiesce_daemon() so listen socket FD
   2163 	is removed from awaiting select() and poll(). -EG
   2164 
   2165 Sat Apr 23 14:17:15 CET 2016
   2166 	Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown
   2167 	on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG
   2168 
   2169 Fri Apr 22 14:29:28 CET 2016
   2170 	Fixed race conditions when stopping quiesced daemon with thread
   2171 	pool. -EG
   2172 
   2173 Wed Apr 20 18:12:30 CET 2016
   2174 	Fixed macros in sysfdsetsize.c which could prevent compiling with
   2175 	non-default FD_SETSIZE.
   2176 	Fixed comments in mhd_str.c.
   2177 	Updated test_post.c to not ignore specific error on W32 if libcurl
   2178 	is built with workaround for WinSock bug. -EG
   2179 
   2180 Mon Apr 18 19:35:14 CET 2016
   2181 	Fixed data races leading to inability in rare situations to
   2182 	resume suspended connection. -EG
   2183 
   2184 Tue Apr 13 21:46:01 CET 2016
   2185 	Removed unneeded locking for global timeout list in
   2186 	MHD_USE_THREAD_PER_CONNECTION mode.
   2187 	Added 'simplepost' and 'largepost' examples to VS projects.
   2188 	Added strtoXX() locale-independent replacement functions.
   2189 	Added more error checking and minor fixes in digest auth
   2190 	functions - should improve security.
   2191 	Ignored specific errors in 'test_post' test until libcurl
   2192 	will implement workaround for WinSock bug.
   2193 	Fixed handling of caller-supplied socket with
   2194 	MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49).
   2195 	Minor fixes.
   2196 	Various cosmetics and comments fixes. -EG
   2197 
   2198 Sat Apr 09 13:05:42 CET 2016
   2199 	Releasing libmicrohttpd 0.9.49. -EG
   2200 
   2201 Fri Apr 08 18:32:17 CET 2016
   2202 	Some minor internal fixes, addition error checking and
   2203 	micro optimizations.
   2204 	Reworked usage of sockets shutdown() - now work equally
   2205 	on all platforms, disconnection should be "more graceful". -EG
   2206 
   2207 Tue Mar 15 21:52:27 CET 2016
   2208 	Do not crash if pthread_create() fails. -DD
   2209 
   2210 Tue Mar 15 20:29:34 CET 2016
   2211 	Do not use eready DLL data structure unless
   2212 	we are actually using epoll(). -DD/CG
   2213 
   2214 Fri Feb  5 20:43:11 CET 2016
   2215 	Fixed testsuite compile warning on W32.
   2216 	Added check test for triggering poll() on
   2217 	listen socket. -EG
   2218 
   2219 Thu Feb  4 11:38:11 CET 2016
   2220 	Added some buffer overrun protection.
   2221 	Fixed handling of malformed URI with spaces. -EG
   2222 
   2223 Wed Feb  3 15:41:57 CET 2016
   2224 	Make signal-pipe non-blocking and drain it. -CG
   2225 
   2226 Sat Jan 30 15:49:07 CET 2016
   2227 	Fix running select() with empty fdsets on W32. -EG
   2228 
   2229 Mon Jan 25 13:45:50 CET 2016
   2230 	Added check test for triggering select() on
   2231 	listen socket. -EG
   2232 
   2233 Thu Jan 21 19:35:18 CET 2016
   2234 	Fixed old bug with making sockets non-blocking on
   2235 	various platforms so now sockets are really
   2236 	non-blocking on all supported platforms.
   2237 	Reworked and fixed code for using SOCK_CLOEXEC,
   2238 	SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in
   2239 	fewer used system calls. -EG
   2240 
   2241 Tue Jan 19 20:59:59 CET 2016
   2242 	Cleaned up and optimized with minor fixes code for
   2243 	making sockets non-blocking non-inheritable. -EG
   2244 
   2245 Tue Jan 19 11:14:18 CET 2016
   2246 	Removed workaround for Cygwin non-blocking sockets:
   2247 	handling non-blocking sockets were fixed in Cygwin
   2248 	and libmicrohttpd how uses non-blocking sockets on
   2249 	all platforms. -EG
   2250 
   2251 Mon Jan 18 23:54:45 CET 2016
   2252 	Cleaned up examples to avoid giving oversimplified code
   2253 	that may lead to complications if adopted naively. -CG
   2254 
   2255 Sun Jan 17 11:18:55 CET 2016
   2256 	Do no refuse to send response if sendfile() failed with
   2257 	EINVAL (common error for files located on SMB/CIF). -EG
   2258 
   2259 Sat Jan 16 19:14:39 CET 2016
   2260 	Use US-ASCII only (instead of user locale settings) when
   2261 	performing caseless string comparison as required by
   2262 	standard. -EG
   2263 
   2264 Tue Jan 12 16:10:09 CET 2016
   2265 	Fixed declaraion of MHD_get_reason_phrase_for(). -EG
   2266 
   2267 Mon Jan 11 19:58:50 CET 2016
   2268 	Configure.ac small fixes and refactoring. -EG
   2269 
   2270 Fri Dec 18 15:54:50 CET 2015
   2271 	Releasing libmicrohttpd 0.9.48. -CG
   2272 
   2273 Tue Dec  15 18:35:55 CET 2015
   2274 	Improved compatibility with VS2010 and other older
   2275 	compilers. -EG
   2276 
   2277 Tue Dec  8 21:48:44 CET 2015
   2278 	Default backlog size for listen socket was changed from
   2279 	32 to SOMAXCONN, added new option MHD_OPTION_LISTEN_BACKLOG_SIZE
   2280 	to override default backlog size.
   2281 	If not all connections can be handled by MHD_select() than
   2282 	at least some of connections will be processed instead of
   2283 	failing without any processing.
   2284 	Fixed redefenition of FD_SETSIZE on W32 so select() will
   2285 	work with 2000 connections instead of 64.
   2286 	Better handled redefenition of FD_SETSIZE on all
   2287 	platforms. -EG
   2288 
   2289 Sat Dec  5 17:30:45 CET 2015
   2290 	Close sockets more aggressively in multi-threaded
   2291 	mode (possibly relevant for idle servers). -CG
   2292 
   2293 Fri Dec  4 13:53:05 CET 2015
   2294 	Releasing libmicrohttpd 0.9.47. -CG
   2295 
   2296 Thu Dec  3 18:21:44 CET 2015
   2297 	Reworked VS project files. Used x64 build tools by
   2298 	default, many optimizations, fixes.
   2299 	Added project files for VS 2015. -EG
   2300 
   2301 Tue Dec  1 14:05:13 CET 2015
   2302 	SPDY is dead, killing experimental libmicrospdy. -CG
   2303 
   2304 Tue Dec  1 10:01:12 CET 2015
   2305 	New logic for controlling socket buffer modes.
   2306 	Eliminated delay before last packet in response and before
   2307 	"100 Continue" response on all platforms. Also response
   2308 	header are pushed to client without waiting for response
   2309 	body. -EG
   2310 
   2311 Wed Nov 25 17:02:53 CET 2015
   2312 	Remove 200ms delay observable with keep-alive on Darwin
   2313 	and *BSD platforms. -EG
   2314 
   2315 Tue Nov 10 15:25:48 CET 2015
   2316 	Fix issue with shutdown if connection was resumed just
   2317 	before shutdown. -FC
   2318 
   2319 Fri Nov  6 22:54:38 CET 2015
   2320 	Fixing the buffer shrinkage issue, this time with test. -CG
   2321 	Releasing libmicrohttpd 0.9.46. -CG
   2322 
   2323 Tue Nov  3 23:24:52 CET 2015
   2324 	Undoing change from Sun Oct 25 15:29:23 CET 2015
   2325 	as the original code was counter-intuitive but
   2326 	correct, and the new code does break pipelining.
   2327 	Ignore empty lines at the beginning of an HTTP
   2328 	request (more tolerant implementation). -CG
   2329 
   2330 Sat Oct 31 15:52:52 CET 2015
   2331 	Releasing libmicrohttpd 0.9.45. -CG
   2332 
   2333 Tue Oct 27 12:08:02 CET 2015
   2334 	Rework deprecation maros: fix errors with old GCC versions,
   2335 	improved support for old clang and new GCC. -EG
   2336 
   2337 Sun Oct 25 23:05:32 CET 2015
   2338 	Return correct header kind in MHD_get_connection_values()
   2339 	even if a bitmask is used for the "kind" argument. -FC/CG
   2340 
   2341 Sun Oct 25 15:29:23 CET 2015
   2342 	Fixing transient resource leak affecting long-lived
   2343 	connections with a lot of keep-alive and HTTP request
   2344 	pipelining under certain circumstances (which reduced
   2345 	the receive window).
   2346 	Fixed assertion failure triggered by a race in
   2347 	thread-per-connection mode on shutdown in rare
   2348 	circumstances. -CG
   2349 
   2350 Mon Oct  5 11:53:52 CEST 2015
   2351 	Deduplicate code between digestauth and connection
   2352 	parsing logic for URI arguments, shared code moved
   2353 	to new MHD_parse_arguments_ function in internal.c. -CG
   2354 
   2355 Thu Oct  1 21:22:05 CEST 2015
   2356 	Releasing libmicrohttpd 0.9.44. -CG
   2357 
   2358 Wed Sep 30 21:05:38 CEST 2015
   2359 	Various fixes for W32 VS project files. -EG
   2360 
   2361 Fri Sep 25 09:49:10 CEST 2015
   2362 	Fix digest authentication with URL arguments where
   2363 	value-less keys are given before the last argument.
   2364 	Thanks to MA for reporting. -CG
   2365 
   2366 Tue Sep 22 19:17:54 CEST 2015
   2367 	Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN
   2368 	is set. -CG
   2369 
   2370 Wed Sep 16 11:06:02 CEST 2015
   2371 	Releasing libmicrohttpd 0.9.43. -CG
   2372 
   2373 Wed Sep  2 16:50:31 CEST 2015
   2374  	Call resume_suspended_connections() when the user is running
   2375 	its own mainloop and calls MHD_run_from_select() to support
   2376 	resuming connections with external select. -FC
   2377 
   2378 Sun Aug 30 14:53:51 CEST 2015
   2379 	Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
   2380 	is allowed. -CG
   2381 
   2382 Thu Aug 27 09:38:44 CEST 2015
   2383 	Reimplement monotonic clock functions for better
   2384 	support various platforms.
   2385 	Print more information during configure. -EG
   2386 
   2387 Fri Aug 14 14:13:55 CEST 2015
   2388 	Export MHD_get_reason_phrase_for() symbol. -CG
   2389 
   2390 Sat Aug  8 12:19:47 CEST 2015
   2391 	Added checks for overflows and buffer overruns, fixed
   2392 	possible buffer overrun.
   2393 	Updated md5 implementation.
   2394 	Fixed many compiler warning (mostly for VC compiler). -EG
   2395 
   2396 Tue Aug  4 13:50:23 CEST 2015
   2397 	Fix failure to properly clean up timed out connections
   2398 	if running in external select mode without listen socket,
   2399 	which caused busy waiting until new connections arrived.
   2400 	(Fixes #3924, thanks to slimp for reporting and testcase). -CG
   2401 
   2402 Sun Aug  2 19:08:20 CEST 2015
   2403 	Ignore close() errors on sockets except for EBADF,
   2404 	fixes #3926. -CG
   2405 
   2406 Sat Jun 27 22:16:27 CEST 2015
   2407 	Make sure to decrement connection counter before
   2408 	calling connection notifier so that
   2409 	MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not
   2410 	present stale information (relevant if this is
   2411 	used for termination detection of a daemon
   2412 	stopped via MHD_quiesce_daemon()). Thanks to
   2413 	Markus Doppelbauer for reporting. -CG
   2414 
   2415 Fri Jun 26 23:17:20 CEST 2015
   2416 	Fix (automatic) handling of HEAD requests with
   2417 	MHD_create_response_from_callback() and HTTP/1.1
   2418 	connection keep-alive. Thanks to Cristian Klein
   2419 	for reporting. -CG
   2420 
   2421 Tue Jun 09 18:30:17 CEST 2015
   2422 	Add new functions MHD_create_response_from_fd64() and
   2423 	MHD_create_response_from_fd_at_offset64(). -EG
   2424 
   2425 Thu Jun  4 13:37:05 CEST 2015
   2426 	Fixing memory leak in digest authentication. -AW
   2427 
   2428 Wed Jun 03 21:23:47 CEST 2015
   2429 	Add deprecation compiler messages for deprecated functions
   2430 	and macros. -EG
   2431 
   2432 Fri May 29 12:23:01 CEST 2015
   2433 	Fixing digest authentication when used in combination
   2434 	with escaped characters in URLs. -CG/AW
   2435 
   2436 Wed May 13 11:49:09 CEST 2015
   2437 	Releasing libmicrohttpd 0.9.42. -CG
   2438 
   2439 Wed May 13 11:33:59 CEST 2015
   2440 	Fix off-by-one in MHD_start_daemon_va() error handling logic
   2441 	when initialization of threads for thread pool fails for some
   2442 	reason. -CG/JC
   2443 
   2444 Thu May  7 17:05:46 CEST 2015
   2445 	Add support for poll() in W32. -EG
   2446 
   2447 Wed May  6 18:07:38 CEST 2015
   2448 	Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin
   2449 
   2450 Thu Apr 30 00:03::49 CEST 2015
   2451 	Releasing libmicrohttpd 0.9.41. -CG
   2452 
   2453 Thu Apr 30 00:02:33 CEST 2015
   2454 	Fix issue where resumed connections would not continue
   2455 	unless other requests are active in certain
   2456 	event-loop modes. Thanks to Mike Castillo for reporting. -CG
   2457 
   2458 Wed Apr 15 03:16:18 CEST 2015
   2459 	Fixing issue #3753 (testcase issue). -CG
   2460 
   2461 Wed Apr 15 00:30:34 CEST 2015
   2462 	Fix looping issue when using MHD_USE_POLL_INTERNALLY
   2463 	and a client times out. -LB
   2464 
   2465 Sun Apr 12 21:48:50 CEST 2015
   2466 	Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY
   2467 	with HTTPS and slow clients. -CG
   2468 
   2469 Fri Apr 10 22:02:27 CEST 2015
   2470 	Fix logic to add "Connection: Close" that was broken in 0.9.38
   2471 	when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG
   2472 
   2473 Fri Apr 10 00:38:40 CEST 2015
   2474 	Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION
   2475 	mode on W32 by using signal pipe. -CG
   2476 
   2477 Thu Apr  9 09:01:15 CEST 2015
   2478 	Fixing issue with undrained signal pipe when using
   2479 	MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination
   2480 	with MHD_resume_connection(), causing 100% CPU usage. -DD
   2481 
   2482 Tue Apr  7 00:12:36 CEST 2015
   2483 	Releasing libmicrohttpd 0.9.40. -CG
   2484 
   2485 Sat Apr  4 18:28:24 CEST 2015
   2486 	Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
   2487 	mode if shutdown is initiated while connections are active. -CG
   2488 
   2489 Sat Apr  4 17:48:13 CEST 2015
   2490 	Fix issue in thread-pool mode where a MHD_stop_daemon()
   2491 	might not reach threads that stopped listening because
   2492 	we hit the maximum number of concurrent connections and
   2493 	the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used.
   2494 	Testcase added as well. -CG
   2495 
   2496 Fri Apr  3 12:55:31 CEST 2015
   2497 	Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.
   2498 
   2499 Fri Apr  3 12:25:28 CEST 2015
   2500 	Do not enforce FD_SETSIZE-limit on worker control
   2501 	pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG
   2502 
   2503 Tue Mar 31 10:28:26 CEST 2015
   2504 	Adding MHD_OPTION_NOTIFY_CONNECTION,
   2505 	MHD_CONNECTION_NOTIFY_STARTED,
   2506 	MHD_CONNECTION_NOTIFY_CLOSED and
   2507 	MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow
   2508 	applications to trigger operations when TCP
   2509 	connections start or end, instead of just
   2510 	exposing HTTP requests starting and ending. -RG/CG
   2511 
   2512 Thu Feb 26 09:55:43 CET 2015
   2513 	Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
   2514 	from working within a MHD_OPTION_ARRAY. -DD
   2515 
   2516 Sun Feb  8 01:24:38 CET 2015
   2517 	Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
   2518 	Andrew Basile. -CG/AB
   2519 
   2520 Wed Feb  4 20:34:22 CET 2015
   2521 	Fix issue where for HTTP/1.0-clients that set
   2522 	Connection: Keep-Alive header a response of
   2523 	indefinite size was generated with chunked encoding. -CG
   2524 
   2525 Sun Jan 18 20:09:06 CET 2015
   2526 	Fix potential infinite loop on shutdown in multi-threaded mode
   2527 	under certain conditions. -CG
   2528 
   2529 Mon Dec 22 16:33:18 CET 2014
   2530 	Releasing 0.9.39. -CG
   2531 
   2532 Mon Dec 22 13:02:36 CET 2014
   2533 	Fix generated compiler flags for Solaris Studio linker (#3584). -CG
   2534 
   2535 Sat Dec 20 00:35:40 CET 2014
   2536 	Adding MHD_http_unescape() to public API (#3585). -CG
   2537 	Updating documentation to document
   2538 	MHD_is_feature_supported(). -CG
   2539 
   2540 Thu Dec  4 00:43:10 CET 2014
   2541 	If "Connection: upgrade" is requested, do not add
   2542 	"Connection: Keep-Alive" in the response. -GJ
   2543 
   2544 Tue Nov 18 13:52:29 CET 2014
   2545 	Call MHD_cleanup_connections() during MHD_DAEMON_INFO_CURRENT_CONNECTIONS
   2546 	processing for more accurate results. -MS
   2547 
   2548 Wed Oct 29 20:45:21 CET 2014
   2549 	Adding MHD_OPTION_LISTENING_ADDRESS_REUSE option allowing clients
   2550 	to force allowing re-use of the address:port combination
   2551 	(SO_REUSEPORT). -MS
   2552 
   2553 Wed Oct 29 16:27:05 CET 2014
   2554 	Adding MHD_DAEMON_INFO_CURRENT_CONNECTIONS to allow clients
   2555 	to query the number of active connections. -MS
   2556 
   2557 Fri Oct  3 14:28:58 CEST 2014
   2558 	Releasing 0.9.38. -CG
   2559 
   2560 Mon Sep 29 22:25:34 CEST 2014
   2561 	Properly decode '+' in URL-encoded POST data. -CG/KM
   2562 
   2563 Fri Sep 12 17:32:09 CEST 2014
   2564 	Fix --disable-dauth configure option (#3543). -doostee
   2565 
   2566 Thu Jun 26 21:06:04 CEST 2014
   2567 	Fix failure to terminate 'instantly' in thread-per-connection
   2568 	mode if there is a client with open connections.
   2569 	Thanks to Kenneth Mastro for reporting. -CG
   2570 
   2571 Sun Jun 22 12:22:08 CEST 2014
   2572 	Actually, avoid locking on response as responses must
   2573 	not be modified in a connection-specific way; instead
   2574 	modify the connection's data buffer to add missing
   2575 	responses headers.  If we are forced to add
   2576 	"Connection: close", suppress output of conflicting
   2577 	application-provided "Connection: Keep-Alive" header. -CG
   2578 
   2579 Sun Jun 22 00:22:08 CEST 2014
   2580 	Lock on response if adding headers, needed if response
   2581 	object is shared across threads and connections. -CG
   2582 
   2583 Thu Jun 19 17:32:32 CEST 2014
   2584 	Ensure that listen FD is bound to epoll FD even before
   2585 	MHD_run() is called if running with MHD_USE_EPOLL_LINUX_ONLY
   2586 	in combination with 'external select' mode.  Thanks to
   2587 	Marcos Pindado Sebastian for reporting. -CG
   2588 
   2589 Sun Jun  8 15:10:44 CEST 2014
   2590 	Add 'MHD_set_response_options' as a way to set per-response
   2591 	flags.  Add flag to force HTTP 1.0-only conservative
   2592 	behavior, in particular suppressing adding "Connection"
   2593 	headers. -CG
   2594 
   2595 Mon Jun  2 00:03:28 CEST 2014
   2596 	Added back unescaping for URI path (#3413) but without
   2597 	unescaping '+' (#3371) to remain compatible with
   2598 	MHD 0.9.34 and before.  Note that applications providing
   2599 	a custom MHD_OPTION_UNESCAPE_CALLBACK are no longer expected
   2600 	to replace '+' with ' ', as that is now done separately for
   2601 	the locations where this transformation is appropriate.
   2602 	Releasing 0.9.37. -CG
   2603 
   2604 Wed May 28 15:30:56 CEST 2014
   2605 	Properly applying patch that was supposed to be
   2606 	committed on "May  2 20:22:45 CEST 2014" to address
   2607 	infinite loop (DoS) when HTTP connection is reset (#3392). -GM
   2608 
   2609 Sun May 25 20:18:27 CEST 2014
   2610 	Fixed W32 build issues. -EG
   2611 	Releasing 0.9.36. -CG
   2612 
   2613 Sat May 17 06:47:00 CEST 2014
   2614 	Fix notifying client about completed request twice
   2615 	under certain circumstances. -CG
   2616 
   2617 Tue May 13 18:24:37 CEST 2014
   2618 	Fix accidental transmission of footer termination '\r\n'
   2619 	for responses with zero byte payload and non-chunked
   2620 	encoding (#3397).  Thanks to amatus for reporting. -CG
   2621 
   2622 Sun May  4 11:05:26 CEST 2014
   2623 	Fix gnutls header check to make it cross-compile aware. -BK
   2624 
   2625 May  2 20:22:45 CEST 2014
   2626 	Fix infinite loop (DoS) when HTTP connection is reset (#3392). -GM
   2627 	Fix possible issue from combination of epoll and suspend/resume
   2628 	logic if edge trigger event is lost; also simplify logic to
   2629 	maintain simpler invariants on the epoll state. -CG
   2630 	Use OpenSSL cipher list "HIGH" in libmicrospdy (#3391). -CG
   2631 	Releasing 0.9.35. -CG
   2632 
   2633 Thu Apr 10 09:39:38 CEST 2014
   2634 	Removed unescaping for URI path (#3371) as '+' should not
   2635 	be converted to space in accordance with
   2636 	http://www.w3.org/TR/html401/appendix/notes.html#ampersands-in-uris
   2637 	and http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
   2638 	Note that we now also no longer convert '#38;' to '&'; if needed,
   2639 	the application needs to apply unescaping to the path of the URI
   2640 	itself (before, MHD unescaped '#38;' but not '&amp;', so this
   2641 	inconsistency was now resolved by simply not unescaping anything
   2642 	before the first '&'). -CG
   2643 
   2644 Tue Apr 08 15:35:44 CET 2014
   2645 	Added support for W32 native threads.
   2646 	Added --with-threads=LIB configure parameter. -EG
   2647 
   2648 Mon Apr  7 13:25:30 CEST 2014
   2649 	Add MHD_OPTION_HTTPS_MEM_DHPARAMS to allow applications
   2650 	to enable PFS. -HB/CG
   2651 
   2652 Tue Apr 01 07:10:23 CET 2014
   2653 	Added usage of native mutex on W32. -EG
   2654 
   2655 Sat Mar 29 16:12:03 CET 2014
   2656 	Added MHD_is_feature_supported() function. -EG
   2657 
   2658 Thu Mar 27 14:47:54 CET 2014
   2659 	Used larger FD_SETSIZE internally on W32.
   2660 	Extended API to work with non-default FD_SETSIZE. -EG
   2661 
   2662 Tue Mar 25 12:53:55 CET 2014
   2663 	Fix limiting by IPv6 address. -EG
   2664 
   2665 Tue Mar 25 09:06:13 CET 2014
   2666 	Added more FD_SETSIZE checks.
   2667 	Implemented FD_SETSIZE checks for W32. -EG
   2668 
   2669 Wed Mar 05 13:15:05 CET 2014
   2670 	Cleanup and refactoring of configure.ac.
   2671 	m4 macros updated.
   2672 	Custom configure macros replaced with autoconf archive macros.
   2673 	SPDY disabled by default on W32.
   2674 	Changed configure flag from '--disable-pipe' to
   2675 	'--enable-socketpair'.
   2676 	Added configure flags '--disable-doc' and '--disable-examples'.
   2677 	Narrowed down external lib specific compiler and linker flags
   2678 	usage. -EG
   2679 
   2680 Wed Feb 26 17:42:34 CET 2014
   2681 	Refactoring of configure.ac: custom macros replaced with macros
   2682 	from Autoconf Archive.
   2683 	Minor corrections of configure.ac.
   2684 	Excluded pthread flags from global flags, pthread now used only
   2685 	where required.
   2686 	W32: fixed .dll resource compilation with '-isystem' CPPFLAG.
   2687 	W32: improved header compatibility with MSVC.
   2688 	W32: now tested on Win64, compiled by MinGW-w64. -EG
   2689 
   2690 Mon Feb 24 23:13:53 CET 2014
   2691 	Added support for TCP FASTOPEN. -SHT
   2692 	Releasing 0.9.34. -CG
   2693 
   2694 Thu Feb 20 14:17:05 CET 2014
   2695 	W32: Added creation of libmicrohttpd.lib, libmicrohttpd.def,
   2696 	libmicrohttpd.exp and libmicrohttpd-static.lib for easy use
   2697 	compiled MHD with MSVC.
   2698 	W32: Use MS lib.exe tool if available for creating MSVC staff.
   2699 	W32: Added .dll information resource. -EG
   2700 
   2701 Tue Feb 18 19:46:45 CET 2014
   2702 	Removed dependency on plibc for simpler compilation for W32.
   2703 	Added configure option "--disable-pipes" to use socketpairs
   2704 	instead of pipes for signalling to child threads. Pipes are
   2705 	always disabled on W32.
   2706 	Some code refactoring. -EG
   2707 
   2708 Sat Feb  8 15:08:35 CET 2014
   2709 	Corrected some uses of 'int' vs. 'size_t'. -EG/CG
   2710 
   2711 Wed Jan 22 09:44:33 CET 2014
   2712 	MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits
   2713 	setting* the IPV6_V6ONLY socket option, but per Microsoft's
   2714 	documentation the default on Windows is that this is enabled, thus
   2715 	MHD_USE_DUAL_STACK will not work (since it leaves the
   2716 	default). libmicrohttpd should probably just unconditionally set
   2717 	IPV6_V6ONLY to the desired value when the option is available. -LJ
   2718 
   2719 Wed Jan  1 21:38:18 CET 2014
   2720 	Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
   2721 	and automatically set "Connection: Keep-Alive" in response
   2722 	in this case as well. -CG
   2723 
   2724 Tue Dec 24 12:27:39 CET 2013
   2725 	Adding explicit annotations to hide symbols that are not for
   2726 	export in the C code (gcc 4.0 or higher only). -CG
   2727 
   2728 Sun Dec 22 14:54:30 CET 2013
   2729 	Adding a few lines to avoid warnings from picky compilers. -CG
   2730 
   2731 Sat Dec 21 17:26:08 CET 2013
   2732 	Fixed an issue with a missing argument in the postexample.
   2733 	Fixed issue with bogus offset increment involving sendfile
   2734 	on GNU/Linux.  Adding support for SNI.
   2735 	Releasing 0.9.33. -CG
   2736 
   2737 Mon Dec  9 21:41:57 CET 2013
   2738 	Fix for per-worker daemon pipes enabled with
   2739 	MHD_USE_SUSPEND_RESUME that were not closed in
   2740 	MHD_stop_daemon. -MH
   2741 
   2742 Sat Dec  7 00:44:49 CET 2013
   2743 	Fixing warnings and build issue if --disable-https is given
   2744 	to configure. -CG
   2745 
   2746 Tue Dec  3 21:25:56 CET 2013
   2747 	Security fix: do not read past 0-terminator when unescaping
   2748 	strings (thanks to Florian Weimer for reporting).
   2749 	Releasing 0.9.32. -CG
   2750 
   2751 Tue Dec  3 21:05:38 CET 2013
   2752 	Signaling n times for shutdown works, but for resume we need to
   2753 	wake up the correct daemon. Even if we signal n times in that
   2754 	case also, there's no guarantee that some daemon can't run
   2755 	through its select loop more than once before the daemon we want
   2756 	to wake up gets a chance to read.  Thus we need a signal pipe
   2757 	per thread in the thread pool IF MHD_suspend_connection is used.
   2758 	This introduces a new flag MHD_USE_SUSPEND_RESUME to add those
   2759 	additional pipes and only allow MHD_suspend_connection to be
   2760 	used in conjunction with this flag.
   2761 
   2762 	Also, as MHD_resume_connection() will be called on a non-daemon
   2763 	thread, but none of the queue insert/delete calls are thread safe,
   2764 	we need to be concerned about (a) corrupting the queue, and (b)
   2765 	having to add mutex protection around every access to the queues,
   2766 	including loops through timer queues, etc. This wasn't a problem
   2767 	before adding resume; even suspend should be safe since it happens
   2768 	in a callback from the daemon.
   2769 
   2770 	I think it's easier to (a) have MHD_suspend_connection() move the
   2771 	connection to a suspended queue, (b) have MHD_resume_connection()
   2772 	mark the connection as resuming, and then (c) do all the actual
   2773 	queue manipulations in MHD_select (poll, epoll, etc.) to move the
   2774 	resumed connections back to their normal queues, in response to
   2775 	the wake up. The changes are simpler & cleaner. There is a cost to
   2776 	the basic select loop that is avoided by making suspend/resume a
   2777 	startup option. The per-worker pipes can then also be enabled only
   2778 	with that option set. -MH
   2779 
   2780 Fri Nov 29 20:17:03 CET 2013
   2781 	Eliminating theoretical stack overflow by limiting length
   2782 	of URIs in authentication headers to 32k (only applicable
   2783 	if the application explicitly raised the memory limits,
   2784 	and only applies to MHD_digest_auth_check). Issue was
   2785 	reported by Florian Weimer. -CG
   2786 
   2787 Tue Nov 26 01:26:15 CET 2013
   2788 	Fix race on shutdown signal with thread pool on non-Linux
   2789 	systems by signalling n times for n threads. -CG
   2790 
   2791 Sun Nov 24 13:41:15 CET 2013
   2792 	Introduce state to mark connections in suspended state (with
   2793 	epoll); add missing locking operations in MHD_suspend_connection.
   2794 	Fix definition of MHD_TLS_CONNECTION_INIT.  -MH/JC
   2795 
   2796 Wed Oct 30 09:34:20 CET 2013
   2797 	Fixing issue in PostProcessor when getting partial boundary
   2798 	at the beginning, expanding test suite. -CG
   2799 
   2800 Sun Oct 27 15:19:44 CET 2013
   2801 	Implementing faster processing of upload data in multipart
   2802 	encoding (thanks to performance analysis by Adam Homolya). -CG
   2803 
   2804 Thu Oct 24 10:40:03 CEST 2013
   2805 	Adding support for connection flow control via
   2806 	MHD_suspend_connection and MHD_resume_connection. -CG
   2807 
   2808 Sat Oct 19 16:40:32 CEST 2013
   2809 	Releasing libmicrohttpd 0.9.31. -CG
   2810 
   2811 Mon Sep 23 20:24:48 CEST 2013
   2812 	Fixing build issues on OS X with CLOCK_MONOTONIC not being
   2813 	implemented on OS X. -CG
   2814 
   2815 Mon Sep 23 14:15:00 CEST 2013
   2816 	Make libmicrohttpd play nicely with upcoming libgcrypt 1.6.0. -CG
   2817 
   2818 Fri Sep 20 17:01:37 CEST 2013
   2819 	Improved configure checks for cURL. -CG
   2820 
   2821 Wed Sep 18 18:29:24 CEST 2013
   2822 	Signal connection termination as OK (and not as ERROR) if the
   2823 	stream was terminated by the callback returning
   2824 	MHD_CONTENT_READER_END_OF_STREAM. Also, release response
   2825 	mutex before calling the termination callback, to avoid
   2826 	possible deadlock if the client destroys the response in
   2827 	the termination callback (due to non-recursiveness of the
   2828 	lock). -CG
   2829 
   2830 Wed Sep 18 14:31:35 CEST 2013
   2831 	Adding #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN. -CG
   2832 
   2833 Tue Sep 17 21:32:47 CEST 2013
   2834 	Also pass MHD connection handle in URI log callback. -CG
   2835 
   2836 Fri Sep  6 10:00:44 CEST 2013
   2837 	Improved check for proper OpenSSL version for
   2838 	libmicrospdy. -CG
   2839 
   2840 Wed Sep  4 17:23:15 CEST 2013
   2841 	Set IPV6_V6ONLY socket option correctly when IPv6 is
   2842 	enabled (MHD_USE_IPv6) but not dual stack
   2843 	(MHD_USE_DUAL_STACK) -MW
   2844 
   2845 Mon Sep  2 22:59:45 CEST 2013
   2846 	Fix use-after-free in epoll()-mode on read error.
   2847 	Releasing libmicrohttpd 0.9.30. -CG
   2848 
   2849 Sun Sep  1 21:55:53 CEST 2013
   2850 	Fixing build issues on FreeBSD. -CG
   2851 
   2852 Fri Aug 30 13:53:04 CEST 2013
   2853 	Started to implement #3008 (RFC 2616, section 8.1.4
   2854 	says HTTP server SHOULD terminate connection if the
   2855 	client closes it for writing via TCP FIN, so we should
   2856 	continue to try to read and react differently
   2857 	if recv() returns zero). -CG
   2858 
   2859 Wed Aug 28 18:40:47 CEST 2013
   2860 	Fix #3007 (build issue if messages are disabled). -CG
   2861 
   2862 Tue Aug 27 18:39:08 CEST 2013
   2863 	Fix build issue if SOCK_NONBLOCK/EPOLL_CLOEXEC are not
   2864 	defined (as is the case on older glibc versions). -CG
   2865 
   2866 Fri Aug 23 14:28:02 CEST 2013
   2867 	Releasing libmicrohttpd 0.9.29. -CG
   2868 
   2869 Mon Aug 12 23:51:18 CEST 2013
   2870 	Updated manual, documenting W32 select/shutdown issue. -CG
   2871 
   2872 Sat Aug 10 21:01:18 CEST 2013
   2873 	Fixed #2983. -CG
   2874 
   2875 Sat Aug 10 20:39:27 CEST 2013
   2876 	Use 'errno' to indicate why 'MHD_add_connection' failed
   2877 	(#2984). -CG
   2878 
   2879 Sat Aug 10 17:31:31 CEST 2013
   2880 	Disable use of 'shutdown' on W32 always as winsock
   2881 	doesn't properly behave with half-closed connections
   2882 	(see http://www.chilkatsoft.com/p/p_299.asp). -CG/LRN
   2883 
   2884 Thu Aug  8 07:55:07 CEST 2013
   2885 	Fixing issue with pipelining not working as desired. -CG
   2886 
   2887 Wed Aug  7 08:17:40 CEST 2013
   2888 	Removing dependency on liberty (on W32). -MC
   2889 
   2890 Fri Aug  2 20:55:47 CEST 2013
   2891 	Fix HTTP 1.1 compliance with respect to not returning
   2892 	content-length headers for successful "CONNECT" requests.
   2893 	Note that for unsuccessful "CONNECT" requests with an
   2894 	empty response body, users must now explicitly set the
   2895 	content-length header. -CG
   2896 
   2897 Sun Jul 28 16:35:17 CEST 2013
   2898 	Fixing build issue (missing #ifdef) in conjunction with
   2899 	--disable-messages. -blueness
   2900 
   2901 Sat Jul 20 12:35:40 CEST 2013
   2902 	Fixing combination of MHD_USE_SSL and MHD_USE_EPOLL_LINUX_ONLY. -CG
   2903 
   2904 Fri Jul 19 09:57:27 CEST 2013
   2905 	Fix issue where connections were not cleaned up when
   2906 	'MHD_run_from_select' was used.  Adding experimental
   2907 	TURBO mode.
   2908 	Releasing libmicrohttpd 0.9.28. -CG
   2909 
   2910 Sun Jul 14 19:57:56 CEST 2013
   2911 	Removing 'shutdown' calls that happen just before close or
   2912 	that are for read-only and for a client that has already
   2913 	stopped sending anyway (thus reducing number of system calls
   2914 	slightly). -CG
   2915 
   2916 Sun Jul 14 19:37:37 CEST 2013
   2917 	Name MHD worker threads on glibc >= 2.12. -,L4X[o]
   2918 
   2919 Fri Jul  5 12:05:01 CEST 2013
   2920 	Added MHD_OPTION_CONNECTION_MEMORY_INCREMENT to allow users
   2921 	to specify a custom value for incrementing read buffer
   2922 	sizes (#2899). -MH
   2923 
   2924 Fri Jun 28 14:05:15 CEST 2013
   2925 	If we shutdown connection for reading on POST due to error,
   2926 	really do not process further requests even if we already
   2927 	read the next request from the connection.  Furthermore, do
   2928 	not shutdown connections for reading on GET/HEAD/etc. just
   2929 	because	the application queued a response immediately ---
   2930 	reserve that behavior for PUT/POST. -CG
   2931 
   2932 Tue Jun 25 15:08:30 CEST 2013
   2933 	Added option 'MHD_USE_DUAL_STACK' to support a single
   2934 	daemon for IPv4 and IPv6 without the application having
   2935 	to do the binding. -CG
   2936 
   2937 Mon Jun 24 22:33:34 CEST 2013
   2938 	Finished integration with epoll, including benchmarking and
   2939 	documentation. -CG
   2940 
   2941 Sun Jun 23 15:28:13 CEST 2013
   2942 	Added option 'MHD_USE_PIPE_FOR_SHUTDOWN' to cleanly support
   2943 	'MHD_quiesce_daemon' with thread pools and per-connection
   2944 	threads (we then need a pipe for shutdown, but if
   2945 	'MHD_quiesce_daemon' is not used, we do not want to
   2946 	require the use of a pipe; introducing the pipe after
   2947 	the threads have been started can also fail, so the
   2948 	application needs to tell us early on). -CG
   2949 
   2950 Sat Jun 22 20:24:17 CEST 2013
   2951 	Removed locking calls for thread modes that do not need them.
   2952 	Reorganized way to obtain connection's event loop state.
   2953 	Added sorted XDLL for connections with default timeout to
   2954 	avoid having to loop over all connections to determine current
   2955 	timeout (custom per-connection timeouts are in another list
   2956 	which is iterated each time). -CG
   2957 
   2958 Fri Jun 21 20:55:48 CEST 2013
   2959 	Preparing build system and tests for epoll support. -CG
   2960 
   2961 Tue May 21 14:34:36 CEST 2013
   2962 	Improving configure tests for OpenSSL and spdylay to
   2963 	avoid build errors in libmicrospdy code if those libraries
   2964 	are not present. -CG
   2965 
   2966 Mon May 20 12:29:35 CEST 2013
   2967 	Added MHD_CONNECTION_INFO_CONNECTION_FD to allow clients
   2968 	direct access to connection socket; useful for COMET
   2969 	applications that need to disable NAGLE (#2886). -CG
   2970 
   2971 Mon May 15 12:49:01 CEST 2013
   2972 	Fixing #2859. -CG
   2973 
   2974 Sun May  5 21:44:08 CEST 2013
   2975 	Merged libmicrospdy code with libmicrohttpd build system
   2976 	(no major changes to libmicrospdy itself yet). -CG
   2977 
   2978 Sun May  5 20:13:59 CEST 2013
   2979 	Improved documentation and code style a bit.
   2980 	Releasing libmicrohttpd 0.9.27. -CG
   2981 
   2982 Thu Apr 25 13:08:10 CEST 2013
   2983 	Added 'MHD_quiesce_daemon' to allow application to stop
   2984 	processing new incoming connections while finishing
   2985 	ongoing requests. -CG
   2986 
   2987 Sun Mar 31 23:17:13 CEST 2013
   2988 	Added MHD demonstration code 'src/examples/demo.c'. -CG
   2989 
   2990 Sun Mar 31 20:27:48 CEST 2013
   2991 	Adding new API call 'MHD_run_from_select' to allow programs
   2992 	running in 'external select mode' to reduce the number of
   2993 	'select' calls by a factor of two. -CG
   2994 
   2995 Sun Mar 31 20:03:48 CEST 2013
   2996 	Performance improvements, updated documentation.
   2997 	Make better use of available memory pool memory for
   2998 	reading (especially important for large POST uploads);
   2999 	improve post processor speed by internally adjusting the
   3000 	buffer size by 4 bytes to ensure "round" IO sizes given
   3001 	a "round" post processor buffer size argument.  Note
   3002 	that applications that previously added 4 bytes to the
   3003 	post processor buffer size might now perform worse.
   3004 	Using the new 'demo' example, POST upload speed
   3005 	increased from ~90 MB/s to ~120 MB/s for a large file
   3006 	(note that the improvement comes from better aligned
   3007 	disk IO; without disk IO, the speed was (and remains)
   3008 	at ~1500 MB/s on this system). -CG
   3009 
   3010 Fri Mar 29 16:44:29 CET 2013
   3011 	Renaming testcases to consistently begin with test_;
   3012 	Changing build system to build examples in doc/.
   3013 	Releasing libmicrohttpd 0.9.26. -CG
   3014 
   3015 Thu Mar  7 10:13:08 CET 2013
   3016 	Fix bug in postprocessor URL parser (#2818). -jgresula
   3017 
   3018 Mon Mar  4 13:45:35 CET 2013
   3019 	Fix dropping of SSL connections if uptime is less than
   3020         MHD_OPTION_CONNECTION_TIMEOUT due to integer underflow (#2802). -greed
   3021 
   3022 Fri Mar  1 01:11:57 CET 2013
   3023 	Fully initialize cleanup mutex struct for each thread (#2803). -Ulion
   3024 
   3025 Wed Feb  6 01:51:52 CET 2013
   3026 	Releasing libmicrohttpd 0.9.25. -CG
   3027 
   3028 Fri Feb  1 10:19:44 CET 2013
   3029 	Handle case where POST data contains "key=" without value
   3030 	at the end and is not new-line terminated by invoking the
   3031 	callback with the "key" during MHD_destroy_post_processor (#2733). -CG
   3032 
   3033 Wed Jan 30 13:09:30 CET 2013
   3034 	Adding more 'const' to allow keeping of reason phrases in ROM.
   3035 	(see mailinglist). -CG/MV
   3036 
   3037 Tue Jan 29 21:27:56 CET 2013
   3038 	Make code work with PlibC 0.1.7 (which removed plibc_init_utf8).
   3039 	Only relevant for W32. Fixes #2734. -CG
   3040 
   3041 Sat Jan 26 21:26:48 CET 2013
   3042 	Fixing regression introduced Jan 6 (test on data_size instead
   3043 	of total_size. -CG
   3044 
   3045 Fri Jan 11 23:21:55 CET 2013
   3046 	Also return MHD_YES from MHD_destroy_post_processor if
   3047 	we did not get '\r\n' in the upload. -CG
   3048 
   3049 Sun Jan  6 21:10:13 CET 2013
   3050 	Enable use of "MHD_create_response_from_callback" with
   3051 	body size of zero. -CG
   3052 
   3053 Tue Dec 25 16:16:30 CET 2012
   3054 	Releasing libmicrohttpd 0.9.24. -CG
   3055 
   3056 Tue Dec 18 21:18:11 CET 2012
   3057 	Given both 'chunked' encoding and 'content-length',
   3058 	ignore the 'content-length' header as per RFC. -ES
   3059 
   3060 Thu Dec  6 10:14:44 CET 2012
   3061 	Force adding "Connection: close" header to response if
   3062 	client asked for connection to be closed (so far, we
   3063 	did close the connection, but did not send the
   3064 	"Connection: close" header explicitly, which some clients
   3065 	seem to dislike. (See discussion on mailinglist).
   3066 	Also, if there is already a transfer-encoding other
   3067 	than 'chunked' set by the application, we also now close
   3068 	the connection if the response is of unknown size. -CG
   3069 
   3070 Wed Dec  5 19:22:26 CET 2012
   3071 	Fixing parameter loss of POST parameters with IE8 and Chrome
   3072 	in the PostProcessor as the code failed to properly handle
   3073 	partial data. -MM
   3074 
   3075 Fri Nov  9 21:36:46 CET 2012
   3076 	Releasing libmicrohttpd 0.9.23. -CG
   3077 
   3078 Thu Nov  8 22:32:59 CET 2012
   3079 	Ship our own version of tsearch and friends if not provided by platform,
   3080 	so that MHD works nicely on Android. -JJ
   3081 
   3082 Mon Oct 22 13:05:01 CEST 2012
   3083 	Immediately do a second read if we get a full buffer from
   3084 	TLS as there might be more data in the TLS buffers even if
   3085 	there is no activity on the socket. -CG
   3086 
   3087 Tue Oct 16 01:33:55 CEST 2012
   3088 	Consistently use "#ifdef" and "#ifndef" WINDOWS, and not
   3089 	sometimes "#if". -CG
   3090 
   3091 Sat Sep  1 20:51:21 CEST 2012
   3092 	Releasing libmicrohttpd 0.9.22. -CG
   3093 
   3094 Sat Sep  1 20:38:35 CEST 2012
   3095 	Adding configure option to allow selecting support for basic
   3096 	and digest authentication separately (#2525). -CG
   3097 
   3098 Thu Aug 30 21:12:56 CEST 2012
   3099 	Fixing URI argument parsing when string contained keys without
   3100 	equals sign (i.e. '&bar&') in the middle of the argument (#2531).
   3101 	Also replacing 'strstr' with more efficient 'strchr' when
   3102 	possible. -CG
   3103 
   3104 Tue Aug 21 14:36:17 CEST 2012
   3105 	Use "int" instead of "enum X" in 'va_arg' calls to be nice to
   3106 	compilers that use 'short' (i.e. 8 or 16 bit) enums but pass
   3107 	enums still as "int" in varargs. (See discussion on mailinglist). -CG/MV
   3108 
   3109 Tue Aug 21 14:31:54 CEST 2012
   3110 	Reduce default size in post processor buffer (for small systems;
   3111 	performance impact on large systems should be minimal). -CG/MV
   3112 
   3113 Thu Jul 19 21:48:42 CEST 2012
   3114 	Releasing libmicrohttpd 0.9.21. -CG
   3115 
   3116 Thu Jul 19 11:34:50 CEST 2012
   3117 	Consistently use 'panic' function instead of ever directly
   3118 	calling 'abort ()'.  Eliminating unused mutex in SSL mode.
   3119 	Removing check in testcases that fails depending on which
   3120 	version of gnuTLS is involved. -CG
   3121 
   3122 Tue Jul 17 23:50:43 CEST 2012
   3123 	Stylistic code clean up.  Allowing lookup up of trailing values
   3124 	without keys using "MHD_lookup_connection_value" with a key of NULL
   3125 	(thus achieving consistency with the existing iterator API). -CG
   3126 
   3127 Tue Jul 17 22:37:05 CEST 2012
   3128 	Adding experimental (!) code for MHD operation without listen socket. -CG
   3129 
   3130 Tue Jul 17 22:15:57 CEST 2012
   3131 	Making sendfile test pass again on non-W32 systems. -CG
   3132 
   3133 Mon Jul  9 13:43:35 CEST 2012
   3134 	Misc changes to allow testcases to pass on W32. -LRN
   3135 
   3136 Sun Jul  8 15:05:31 CEST 2012
   3137 	Misc changes to fix build on W32. -LRN
   3138 
   3139 Fri Jun 22 11:31:25 CEST 2012
   3140 	Make sure sockets opened by MHD are non-inheritable by default (#2414). -CG
   3141 
   3142 Tue Jun 19 19:44:53 CEST 2012
   3143 	Change various uses of time(NULL) to new MHD_monotonic_time() function to
   3144 	make timeouts immune to the system real time clock changing. -MC
   3145 
   3146 Tue Jun 12 21:35:00 CEST 2012
   3147 	Adding 451 status code. -CG
   3148 
   3149 Thu May 31 13:33:45 CEST 2012
   3150 	Releasing 0.9.20. -CG
   3151 
   3152 Tue May 29 13:55:03 CEST 2012
   3153 	Fixed some testcase build issues with disabled post processor. -CG
   3154 
   3155 Tue May 29 13:45:15 CEST 2012
   3156 	Fixing bug where MHD failed to call connection termination callback
   3157 	if a connection either was closed due to read errors or if MHD
   3158 	was terminated with certain threading modes.  Added new
   3159 	termination code MHD_REQUEST_TERMINATED_READ_ERROR for the
   3160 	read-termination cause. -CG
   3161 
   3162 Thu Mar 15 23:47:53 CET 2012
   3163 	Eliminating code clone in tls connection read/write handlers. -CG
   3164 
   3165 Fri Mar  2 23:44:56 CET 2012
   3166 	Making sure that MHD_get_connection_values iterates over the
   3167 	headers in the order in which they were received. -CG
   3168 
   3169 Wed Feb  1 09:39:12 CET 2012
   3170 	Fixed compilation problem on MinGW. -BS
   3171 
   3172 Tue Jan 31 17:50:24 CET 2012
   3173 	Releasing 0.9.19. -CG
   3174 
   3175 Mon Jan 30 20:02:34 CET 2012
   3176 	Fixed handling of garbage prior to first multipart boundary
   3177 	(#2126). -woof
   3178 
   3179 Fri Jan 27 11:00:43 CET 2012
   3180 	Fixed postprocessor failure for applications that enclosed boundary
   3181 	in quotes (#2120). -woof
   3182 
   3183 Tue Jan 24 16:07:53 CET 2012
   3184 	Added configure check for sin_len in 'struct sockaddr' and adding
   3185 	code to initialize this field if it exists now. -CG
   3186 
   3187 Mon Jan 23 14:02:26 CET 2012
   3188 	Fixed double-free if specified cipher was not valid (during
   3189 	MHD_daemon_start).  Releasing 0.9.18. -CG
   3190 
   3191 Thu Jan 19 22:11:12 CET 2012
   3192 	Switch to non-blocking sockets for all systems but Cygwin
   3193 	(we already used non-blocking sockets for GNU/Linux); also
   3194 	use non-blocking sockets on Cygwin for HTTPS as this is
   3195 	required to avoid DoS-by-partial-record via gnutls.  On
   3196 	Cygwin, #1824 implies that we need to use blocking sockets
   3197 	for HTTP on Cygwin for now. -CG
   3198 
   3199 Thu Jan 19 17:46:05 CET 2012
   3200 	Fixing use of uninitialized 'earliest_deadline' variable in
   3201 	MHD_get_timeout which can lead to returning an incorrect
   3202 	(too early) timeout (#2085). -tclaveirole
   3203 
   3204 Thu Jan 19 13:31:27 CET 2012
   3205 	Fixing digest authentication for GET requests with URI arguments
   3206 	(#2059). -CG
   3207 
   3208 Sat Jan  7 17:30:48 CET 2012
   3209 	Digest authentication expects nonce count in base 16, not base 10
   3210 	(#2061). -tclaveirole
   3211 
   3212 Thu Jan  5 22:01:37 CET 2012
   3213 	Partial fix for #2059, digest authentication with GET arguments. -CG
   3214 
   3215 Thu Dec  1 15:22:57 CET 2011
   3216 	Updated authorization_example.c to actually demonstrate the current
   3217 	MHD API. -SG
   3218 
   3219 Mon Nov 21 18:51:30 CET 2011
   3220 	Added option to suppress generation of the 'Date:' header to be
   3221 	used on embedded systems without RTC.  Documented the new option
   3222 	and the configure options. -CG
   3223 
   3224 Sat Nov 19 20:08:40 CET 2011
   3225 	Releasing 0.9.17. -CG
   3226 
   3227 Fri Nov 18 20:17:22 CET 2011
   3228 	Fixing return value of MHD_get_timeout if timeouts are not in use.
   3229         (#1914). -rboulton
   3230 
   3231 Sun Nov 13 13:34:29 CET 2011
   3232 	Trying to fix accidental addition of a "Connection: close" footer
   3233 	under certain (rare) circumstances. -CG
   3234 
   3235 Fri Nov  4 10:03:00 CET 2011
   3236 	Small updates to the tutorial.
   3237 	Releasing 0.9.16. -CG
   3238 
   3239 Thu Nov  3 10:14:59 CET 2011
   3240 	shutdown(RDWR) fails on OS X after shutdown(RD), so only use
   3241 	shutdown(WR) if we already closed the socket for reading (otherwise
   3242 	OS X might not do shutdown (WR) at all). -CG
   3243 
   3244 Tue Nov  1 18:51:50 CET 2011
   3245 	Force adding of 'Connection: close' to the header if we (for whatever
   3246 	reason) are shutting down the socket for reading (see also
   3247 	#1760). -CG
   3248 
   3249 Thu Oct 27 14:16:34 CEST 2011
   3250 	Treat EAGAIN the same way as EINTR (helps on W32). -LRN
   3251 
   3252 Wed Oct 12 10:40:12 CEST 2011
   3253 	Made sockets blocking again for non-Linux platforms as non-blocking
   3254 	sockets cause problems (#1824) on Cygwin but offer better performance
   3255 	on Linux (see change on August 11 2011). -CG/pross
   3256 
   3257 Fri Oct  7 19:50:07 CEST 2011
   3258  	Fixed problems with testcases on W32. -LRN
   3259 
   3260 Fri Sep 30 17:56:36 CEST 2011
   3261 	Fixed MHD_CONNECTION_OPTION_TIMEOUT for HTTPS (#1811). -CG
   3262 
   3263 Wed Sep 28 08:37:55 CEST 2011
   3264 	Releasing libmicrohttpd 0.9.15. -CG
   3265 
   3266 Tue Sep 27 13:07:36 CEST 2011
   3267 	Added ability to access URL arguments of the form 'url?foo' (without
   3268 	'=').  Added testcase and updated documentation accordingly. -CG
   3269 
   3270 Mon Sep 26 21:24:00 CEST 2011
   3271 	Only run response cleanup testcase if curl binary was found by
   3272 	configure. -CG
   3273 
   3274 Wed Sep 21 09:53:18 CEST 2011
   3275 	Reverting to using pipes for signalling select on non-Linux
   3276 	platforms where shutdown-on-listen-sockets does not work. -WB/CG
   3277 
   3278 Mon Sep 19 14:06:30 CEST 2011
   3279 	Fixing problem introduced with prompt response cleanup code. -CG
   3280 
   3281 Wed Sep 14 13:43:26 CEST 2011
   3282 	Fixing minor memory leak if daemon with HTTPS support failed to
   3283 	initialize (#1766). -CG
   3284 
   3285 Tue Sep 13 09:47:58 CEST 2011
   3286 	Try to release responses more promptly upon connection termination. -CG
   3287 
   3288 Mon Sep 12 10:20:28 CEST 2011
   3289 	Releasing libmicrohttpd 0.9.14. -CG
   3290 
   3291 Mon Sep 12 10:05:36 CEST 2011
   3292 	Added new function to allow setting of a custom timeout value
   3293 	for an individual connection (the MHD_set_connection_option is
   3294 	more generic, but this is currently the only use). -CG
   3295 
   3296 Sat Sep 10 07:30:12 CEST 2011
   3297 	Documenting that MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT is not
   3298 	implemented and will not be implemented, and what to use instead. -CG
   3299 
   3300 Fri Sep  9 13:42:20 CEST 2011
   3301 	Added testcase to demonstrate that response cleanup calling is
   3302 	working. No bug was found. -CG
   3303 
   3304 Thu Aug 18 11:05:16 CEST 2011
   3305 	Fixed bug with wrong state transition if callback returned
   3306 	MHD_CONTENT_READER_END_OF_STREAM causing spurious extra callbacks
   3307 	to the handler (thanks to Jan Seeger for pointing it out). -CG/JS
   3308 
   3309 Thu Aug 11 11:40:03 CEST 2011
   3310 	Changing sockets to be non-blocking as suggested by Eivind Sarto
   3311 	on the mailinglist. -CG
   3312 
   3313 Mon Jul 25 16:13:15 CEST 2011
   3314 	Added a logo. -CG
   3315 
   3316 Sat Jul 16 22:42:10 CEST 2011
   3317 	Change type of nonce to 'unsigned long int' to match return type
   3318 	from 'strtoul'.  Fixes ERANGE check which would have previously
   3319 	failed. -CG
   3320 
   3321 Wed Jul 13 09:26:17 CEST 2011
   3322 	Fixing HTTP error status strings for certain high-numbered status codes.
   3323 	Added support for some more (non-standard) status codes.
   3324 	Releasing libmicrohttpd 0.9.13. -CG
   3325 
   3326 Thu Jul  7 10:24:20 CEST 2011
   3327 	Adding performance measurements. -CG
   3328 
   3329 Thu Jun 23 14:21:13 CEST 2011
   3330 	Releasing libmicrohttpd 0.9.12. -CG
   3331 
   3332 Wed Jun 22 14:32:23 CEST 2011
   3333 	Force closing connection if either the client asked it or
   3334 	if the response contains 'Connection: close' (so far,
   3335 	only the client's request was considered). -CG/RV
   3336 
   3337 Wed Jun 22 10:37:35 CEST 2011
   3338 	Removing listen socket from poll/select sets in
   3339 	MHD_USE_THREAD_PER_CONNECTION mode; using 'shutdown'
   3340 	on connection sockets to signal termination instead. -CG
   3341 
   3342 Wed Jun 22 10:25:13 CEST 2011
   3343 	Eliminate unnecessary (and badly synchronized) calls to
   3344 	MHD_get_timeout in MHD_USE_THREAD_PER_CONNECTION mode.
   3345 	Document that this is not acceptable. -CG
   3346 
   3347 Tue Jun 21 13:54:59 CEST 2011
   3348 	Fixing tiny memory leak in SSL code from 'gnutls_priority_init'.
   3349 	Fixing data race between code doing connection shutdown and
   3350 	connection cleanup.
   3351 	Changing code to reduce connection cleanup cost from O(n) to O(1).
   3352 	Cleaning up logging code around 'connection_close_error'. -CG
   3353 
   3354 Sat Jun 11 13:05:12 CEST 2011
   3355 	Replacing use of sscanf by strtoul (#1688). -CG/bplant
   3356 
   3357 Fri Jun  3 15:26:42 CEST 2011
   3358 	Adding MHD_CONNECTION_INFO_DAEMON to obtain MHD_Daemon
   3359 	responsible for a given connection. -CG
   3360 
   3361 Wed May 25 14:23:20 CEST 2011
   3362 	Trying to fix stutter problem on timeout described by
   3363 	David Myers on the mailinglist (5/10/2011). -CG
   3364 
   3365 Fri May 20 22:11:55 CEST 2011
   3366 	Fixed bug in testcase setup code causing crashes in
   3367 	tls_session_timeout_test on some systems.
   3368 	Releasing libmicrohttpd 0.9.11. -CG
   3369 
   3370 Fri May 20 19:34:59 CEST 2011
   3371 	Fixed bug in parsing multipart/form-data with post processor where
   3372 	the code failed to add a 0-terminator in the correct position. -PP
   3373 
   3374 Thu May 12 14:40:46 CEST 2011
   3375 	Fixed bug where if multiple HTTP request messages are piped in at once,
   3376 	microhttpd would call the handler with the wrong upload_data_size. -HZM
   3377 
   3378 Thu May 12 14:40:08 CEST 2011
   3379 	Documented possible issue with off_t being sometimes
   3380 	32-bit and sometimes 64-bit depending on #includes. -CG
   3381 
   3382 Sun May  8 21:52:47 CEST 2011
   3383 	Allow MHD_SIZE_UNKNOWN to be used in conjunction with
   3384 	MHD_create_response_from_fd (fixing #1679). -TG
   3385 
   3386 Wed Apr 27 16:11:18 CEST 2011
   3387 	Releasing libmicrohttpd 0.9.10. -CG
   3388 
   3389 Fri Apr  8 11:40:35 CEST 2011
   3390 	Workaround for cygwin poll brokenness. -TS
   3391 
   3392 Sun Apr  3 13:56:52 CEST 2011
   3393 	Fixing compile error on OS X. -CG
   3394 
   3395 Wed Mar 30 12:56:09 CEST 2011
   3396 	Initialize tv_usec in MHD_USE_THREAD_PER_CONNECTION with select
   3397 	and per-connection timeout. -CG
   3398 
   3399 Tue Mar 29 14:15:13 CEST 2011
   3400 	Releasing libmicrohttpd 0.9.9. -CG
   3401 
   3402 Tue Mar 29 14:11:19 CEST 2011
   3403 	Fixed call to mmap for memory pool, extended testcase to cover
   3404 	POLL. -CG
   3405 
   3406 Wed Mar 23 23:24:25 CET 2011
   3407 	Do not use POLLIN when we only care about POLLHUP (significantly
   3408 	improves performance when using MHD_USE_THREAD_PER_CONNECTION
   3409 	in combination with MHD_USE_POLL). -ES
   3410 
   3411 Sun Mar 20 09:16:53 CET 2011
   3412 	Fixing race when using MHD_USE_THREAD_PER_CONNECTION in combination
   3413 	with MHD_USE_POLL. -CG
   3414 
   3415 Fri Mar 18 13:23:47 CET 2011
   3416 	Removing MSG_DONTWAIT which should not be needed and was presumably
   3417 	causing problems with EAGAIN under certain circumstances. -ES
   3418 
   3419 Fri Mar 11 22:25:29 CET 2011
   3420 	Fixing bug in MHD_create_response_from_fd_at_offset with non-zero offsets. -ES
   3421 
   3422 Sat Mar  5 22:00:36 CET 2011
   3423 	Do not use POLLRDHUP, which causes build errors on OS X / OpenSolaris
   3424 	(#1667). -CG
   3425 
   3426 Fri Mar  4 10:24:04 CET 2011
   3427 	Added new API to allow MHD server to initiate connection to
   3428 	client (special use-case for servers behind NAT), thereby
   3429 	addressing #1661 (externally created connections).
   3430 	Releasing libmicrohttpd 0.9.8. -CG
   3431 
   3432 Fri Mar  4 10:07:18 CET 2011
   3433 	Avoid using a pipe for signalling as well, just use server
   3434 	socket shutdown (also for thread-per-connection). -CG
   3435 
   3436 Thu Mar  3 21:42:47 CET 2011
   3437 	Fixing issue where Base64 decode fails when char is defined
   3438         as unsigned char  (Mantis 1666). -CG/tmayer
   3439 
   3440 Tue Mar  1 13:58:04 CET 2011
   3441 	Allow use of 'poll' in combination with the external select mode.
   3442 	Avoid using pthread signals (SIGALRM), use pipe instead.
   3443 	Corrected timeout calculation (s vs. ms). -CG
   3444 
   3445 Wed Feb 23 14:21:44 CET 2011
   3446 	Removing useless code pointed out by Eivind Sarto. -CG
   3447 
   3448 Fri Feb 18 11:03:59 CET 2011
   3449 	Handle large (>2 GB) file transfers with sendfile on 32-bit
   3450 	systems better; handle odd sendfile failures by libc/kernel
   3451 	by falling back to standard 'SEND'. -CG
   3452 
   3453 Sun Feb 13 10:52:29 CET 2011
   3454 	Handle gnutls receive error(s) for interrupted SSL
   3455 	connections better. -MS
   3456 	Releasing libmicrohttpd 0.9.7. -CG
   3457 
   3458 Fri Feb 11 10:15:38 CET 2011
   3459 	Fixing parameter ordering in documentation (#1659). -wellska
   3460 
   3461 Thu Jan 27 10:51:39 CET 2011
   3462 	Disable 'EXTRA_CHECKS's by default as suggested in #1652
   3463  	(I guess it is time). -CG/timn
   3464 
   3465 Thu Jan 27 10:48:55 CET 2011
   3466 	Removing bogus assertion in basic authentication code (#1651). -CG/timn
   3467 
   3468 Tue Jan 25 14:10:45 CET 2011
   3469 	Releasing libmicrohttpd 0.9.6. -CG
   3470 
   3471 Mon Jan 24 16:36:35 CET 2011
   3472 	Fixing compilation error if DAUTH_SUPPORT was 0 (#1646). -CG/bplant
   3473 
   3474 Tue Jan 18 23:58:09 CET 2011
   3475 	Fixing hash calculation in digest auth; old function had
   3476 	collisions causing the browser to challenge users for
   3477 	authentication too often. -CG/AW
   3478 
   3479 Fri Jan 14 19:19:45 CET 2011
   3480 	Removing dead code, adding missing new symbols to export list.
   3481 	Fixed two missing NULL checks after malloc operations. -CG
   3482 
   3483 Mon Jan 10 14:07:33 CET 2011
   3484 	Releasing libmicrohttpd 0.9.5. -CG
   3485 
   3486 Wed Jan  5 15:20:11 CET 2011
   3487 	Fixing double-locking on non-Linux platforms when using
   3488 	MHD_create_response_from_fd (#1639). -CG
   3489 	Avoid use of strndup for better portability (#1636). -CG
   3490 
   3491 Tue Jan  4 13:07:21 CET 2011
   3492 	Added MHD_create_response_from_buffer, deprecating
   3493 	MHD_create_response_from_data.  Deprecating
   3494 	MHD_create_response_from_fd as well. -CG
   3495 
   3496 Sun Dec 26 00:02:15 CET 2010
   3497 	Releasing libmicrohttpd 0.9.4. -CG
   3498 
   3499 Sat Dec 25 21:57:14 CET 2010
   3500 	Adding support for basic authentication.
   3501 	Documented how to obtain client SSL certificates in tutorial. -MS
   3502 
   3503 Thu Dec 23 15:40:36 CET 2010
   3504 	Increasing nonce length to 128 to support digest authentication
   3505 	with Opera (see #1633).
   3506 
   3507 Mon Dec 20 21:22:57 CET 2010
   3508 	Added macro MHD_LONG_LONG to allow change of MHD's "long long" use
   3509 	to some other type on platforms that do not support "long long"
   3510 	(Mantis #1631). -CG/bplant
   3511 
   3512 Sun Dec 19 19:54:15 CET 2010
   3513 	Added 'MHD_create_response_from_fd_at_offset'. -CG
   3514 
   3515 Sun Dec 19 15:16:16 CET 2010
   3516 	Fixing --enable and --disable configure options to behave properly. -CG
   3517 
   3518 Sun Dec 19 13:46:52 CET 2010
   3519 	Added option to specify size of stacks for threads created by MHD. -CG
   3520 
   3521 Tue Nov 23 09:41:00 CET 2010
   3522 	Releasing libmicrohttpd 0.9.3. -CG
   3523 
   3524 Thu Nov 18 23:10:36 CET 2010
   3525 	Fixing #1619 (testcases not working with NSS on Fedora). -CG/timn
   3526 
   3527 Thu Nov 18 22:55:58 CET 2010
   3528 	Fixing #1621 (socket not closed under certain circumstances). -CG/jaredc
   3529 
   3530 Wed Nov 17 12:16:53 CET 2010
   3531 	Allowing signalling of errors in generating chunked responses to
   3532 	clients (by closing connectins) using the new
   3533 	MHD_CONTENT_READER_END_WITH_ERROR ((size_t)-2) return value.  Also
   3534 	introducing MHD_CONTENT_READER_END_OF_STREAM constant instead
   3535 	of (size_t) -1 / SIZE_MAX.
   3536 
   3537 Sun Nov 14 20:45:45 CET 2010
   3538 	Adding API call to generate HTTP footers in response. -CG
   3539 
   3540 Sat Oct 16 12:38:43 CEST 2010
   3541 	Releasing libmicrohttpd 0.9.2. -CG
   3542 
   3543 Tue Oct 12 15:41:51 CEST 2010
   3544 	Fixed issue with data received via SSL being delayed in the
   3545 	GNUtls buffer if sender stopped transmitting (but did not close
   3546 	the connection) and MHD buffer size was smaller than last fragment,
   3547 	resulting in possibly significantly delayed processing of
   3548 	incoming data.  -CG
   3549 
   3550 Wed Sep 22 09:48:59 CEST 2010
   3551 	Changed port argument from 'unsigned short' to 'uint16_t'.
   3552 	Removed dead code when compiling with messages enabled.
   3553 	Minimal unrelated code cleanup. -CG
   3554 
   3555 Tue Sep 21 15:12:41 CEST 2010
   3556 	Use "size_t" for buffer size instead of "int". -CG
   3557 
   3558 Sat Sep 18 07:16:30 CEST 2010
   3559 	Adding support for SHOUTcast. -CG
   3560 
   3561 Wed Sep 15 09:33:46 CEST 2010
   3562 	Fixed double-free. -CG/ES
   3563 
   3564 Fri Sep 10 14:47:11 CEST 2010
   3565 	Releasing libmicrohttpd 0.9.1. -CG
   3566 
   3567 Fri Sep 10 14:29:37 CEST 2010
   3568 	Adding proper nonce counter checking for digest authentication. -CG/AA
   3569 
   3570 Sat Sep  4 21:55:52 CEST 2010
   3571 	Digest authentication now seems to be working. -CG/AA
   3572 
   3573 Wed Sep  1 13:59:16 CEST 2010
   3574 	Added ability to specify external unescape function.
   3575 	"microhttpd.h" now includes the right headers for GNU/Linux
   3576 	systems unless MHD_PLATFORM_H is defined (in which case it
   3577 	is assumed that the right headers were already determined by
   3578 	some configure-like process). -CG
   3579 
   3580 Tue Aug 31 15:39:25 CEST 2010
   3581 	Fixed bug with missing call to response cleanup in case of
   3582 	connection handling error (for example, after getting a SIGPIPE). -CG
   3583 
   3584 Tue Aug 24 11:39:25 CEST 2010
   3585 	Fixed bug in handling EAGAIN from GnuTLS (caused
   3586 	needlessly dropped SSL connections). -CG
   3587 
   3588 Sun Aug 22 16:49:13 CEST 2010
   3589 	Initial draft for digest authentication. -AA
   3590 
   3591 Thu Aug 19 14:15:01 CEST 2010
   3592 	Changed code to enable error messages and HTTPS by default;
   3593 	added option to disable post processor API (use
   3594 	breaks binary compatibility, should only be done
   3595 	for embedded systems that require minimal footprint). -CG
   3596 
   3597 Thu Aug 19 13:26:00 CEST 2010
   3598 	Patches for Windows to ease compilation trouble. -GT/CG
   3599 
   3600 Sat Aug 14 15:43:30 CEST 2010
   3601 	Fixed small, largely hypothetical leaks.
   3602 	Reduced calls to strlen for header processing. -CG
   3603 
   3604 Fri Aug  6 12:51:59 CEST 2010
   3605 	Fixing (small) memory leak on daemon-shutdown with
   3606 	SSL enabled. -CG/PG
   3607 
   3608 Thu Aug  5 22:24:37 CEST 2010
   3609 	Fixing timeout bug on systems that think it's still
   3610 	1970 (can happen if system time not initialized). -CG
   3611 
   3612 Mon Jul 26 10:46:57 CEST 2010
   3613 	Releasing libmicrohttpd 0.9.0. -CG
   3614 
   3615 Sun Jul 25 14:57:47 CEST 2010
   3616 	Adding support for sendfile on Linux.  Adding support
   3617 	for systemd-style passing of an existing listen socket
   3618 	as an option.  IPv6 sockets now only bind to IPv6
   3619 	(if platform supports this). -CG
   3620 
   3621 Sun Jul 25 11:10:45 CEST 2010
   3622 	Changed code to use external libgnutls code instead of
   3623 	the "fork".  Minor API changes for setting TLS options. -CG
   3624 
   3625 Sun Jun 13 10:52:34 CEST 2010
   3626 	Cleaned up example code. -CG
   3627 
   3628 Fri Apr 23 09:56:37 CEST 2010
   3629 	Do not return HTTP headers for requests without version
   3630 	numbers.  Do return HTTP version 1.0 if client requested
   3631 	HTTP version 1.1 (previously, we returned HTTP/1.1 even
   3632 	if the client specified HTTP/1.0).  -GM/CG
   3633 
   3634 Sat Mar 13 09:41:01 CET 2010
   3635 	Releasing libmicrohttpd 0.4.6. -CG
   3636 
   3637 Wed Mar 10 13:18:26 CET 2010
   3638 	Fixing bug in 100 CONTINUE replacement when handling POSTs
   3639 	(see report on mailinglist), with testcase. -CG/MC
   3640 
   3641 Tue Feb 23 09:16:15 CET 2010
   3642 	Added configure check for endianness to define WORDS_BIGENDIAN
   3643 	which fixes SSL support on big endian architectures. -JA/CG
   3644 
   3645 Sat Feb 20 10:01:09 CET 2010
   3646 	Added check for inconsistent options (MHD_OPTION_PROTOCOL_VERSION
   3647 	without MHD_USE_SSL) causing instant segfault. -JA/CG
   3648 
   3649 Tue Feb  9 20:31:51 CET 2010
   3650 	Fixed issue with poll doing busy waiting. -BK/CG
   3651 
   3652 Thu Jan 28 21:28:56 CET 2010
   3653 	Releasing libmicrohttpd 0.4.5. -CG
   3654 
   3655 Thu Jan 28 20:35:48 CET 2010
   3656 	Make sure addresses returned by memory pool are
   3657 	aligned (fixes bus errors on Sparc). -CG
   3658 
   3659 Thu Dec 17 20:26:52 CET 2009
   3660 	poll.h is not strictly required anymore. -ND
   3661 
   3662 Fri Dec  4 13:17:50 CET 2009
   3663 	Adding MHD_OPTION_ARRAY. -CG
   3664 
   3665 Mon Nov 16 14:41:26 CET 2009
   3666 	Fixed busy-loop in internal select mode for inactive
   3667 	clients with infinite connection timeout. -CG
   3668 
   3669 Thu Nov 12 16:19:14 CET 2009
   3670 	Adding support for setting a custom error handler for
   3671 	fatal errors (previously, the implementation always
   3672 	called 'abort' in these cases). -CG/ND
   3673 
   3674 Wed Nov 11 12:54:16 CET 2009
   3675 	Adding support for poll (alternative to select allowing
   3676 	for more than FD_SETSIZE parallel connections). -JM
   3677 
   3678 Wed Oct 28 20:26:00 CET 2009
   3679  	Releasing libmicrohttpd 0.4.4. -CG
   3680 
   3681 Wed Oct 14 14:37:37 CEST 2009
   3682 	Fixing (rare) deadlock due to SELECT missing SIGALRM by
   3683 	making all SELECT calls block for at most 1s.  While this
   3684 	can in (rare) situations delay the shutdown by 1s, I think
   3685 	this is preferable (both performance and possibly portability-wise)
   3686 	over using a pipe for the signal. -CG
   3687 
   3688 Sun Oct 11 14:57:29 CEST 2009
   3689 	Adding eCos license as an additional license for the
   3690 	non-HTTPS code of MHD. -CG
   3691 
   3692 Sun Oct 11 11:24:27 CEST 2009
   3693 	Adding support for Symbian. -MR
   3694 
   3695 Fri Oct  9 15:21:29 CEST 2009
   3696 	Check for error codes from pthread operations (to help with
   3697 	error diagnostics) and abort if something went wrong. -CG
   3698 
   3699 Thu Oct  8 10:43:02 CEST 2009
   3700 	Added check for sockets being '< FD_SETSIZE' (just to be safe). -CG
   3701 
   3702 Mon Oct  5 21:17:26 CEST 2009
   3703 	Adding "COOKIE" header string #defines. -CG
   3704 
   3705 Mon Oct  5 08:29:06 CEST 2009
   3706 	Documenting default values. -CG
   3707 
   3708 Fri Aug 28 22:56:47 CEST 2009
   3709  	Releasing libmicrohttpd 0.4.3. -CG
   3710 
   3711 Sun Aug 23 16:21:35 UTC 2009
   3712 	Allow MHD_get_daemon_info to return the daemon's listen socket.
   3713 	Includes a test case that uses this functionality to bind a server to
   3714 	an OS-assigned port, look the port up with getsockname, and curl it. -DR
   3715 
   3716 Tue Aug  4 00:14:04 CEST 2009
   3717 	 Fixing double-call to read from content-reader callback for first
   3718 	 data segment (as reported by Alex on the mailinglist). -CG
   3719 
   3720 Thu Jul 29 21:41:52 CEST 2009
   3721  	 Fixed issue with the code not using the "block_size" argument
   3722          given to MHD_create_response_from_callback causing inefficiencies
   3723 	 for values < 2048 and segmentation faults for values > 2048
   3724 	 (as reported by Andre Colomb on the mailinglist). -CG
   3725 
   3726 Sun May 17 03:29:46 MDT 2009
   3727  	 Releasing libmicrohttpd 0.4.2. -CG
   3728 
   3729 Fri May 15 11:00:20 MDT 2009
   3730 	 Grow reserved read buffer more aggressively so that we are not
   3731 	 needlessly stuck reading only a handful of bytes in each iteration. -CG
   3732 
   3733 Thu May 14 21:20:30 MDT 2009
   3734 	 Fixed issue where the "NOTIFY_COMPLETED" handler could be called
   3735 	 twice (if a socket error or timeout occurred for a pipelined
   3736 	 connection after successfully completing a request and before
   3737 	 the next request was successfully transmitted).  This could
   3738 	 confuse applications not expecting to see a connection "complete"
   3739 	 that they were never aware of in the first place. -CG
   3740 
   3741 Mon May 11 13:01:16 MDT 2009
   3742          Fixed issue where error code on timeout was "TERMINATED_WITH_ERROR"
   3743          instead of "TERMINATED_TIMEOUT_REACHED". -CG
   3744 
   3745 Wed Apr  1 21:33:05 CEST 2009
   3746          Added MHD_get_version(). -ND
   3747 
   3748 Wed Mar 18 22:59:07 MDT 2009
   3749 	 Releasing libmicrohttpd 0.4.1. -CG
   3750 
   3751 Wed Mar 18 17:46:58 MDT 2009
   3752 	 Always RECV/SEND with MSG_DONTWAIT to (possibly) address
   3753 	 strange deadlock reported by Erik on the mailinglist ---
   3754 	 and/or issues with blocking read after select on GNU/Linux
   3755 	 (see select man page under bugs). -CG
   3756 
   3757 Tue Mar 17 01:19:50 MDT 2009
   3758 	 Added support for thread-pools. -CG/RA
   3759 
   3760 Mon Mar  2 23:44:08 MST 2009
   3761 	 Fixed problem with 64-bit upload and download sizes and
   3762 	 "-1" being used to indicate "unknown" by introducing
   3763 	 new 64-bit constant "MHD_SIZE_UNKNOWN". -CG/DC
   3764 
   3765 Wed Feb 18 08:13:56 MST 2009
   3766 	 Added missing #include for build on arm-linux-uclibc. -CG/CC
   3767 
   3768 Mon Feb 16 21:12:21 MST 2009
   3769 	 Moved MHD_get_connection_info so that it is always defined,
   3770 	 even if HTTPS support is not enabled. -CG
   3771 
   3772 Sun Feb  8 21:15:30 MST 2009
   3773 	 Releasing libmicrohttpd 0.4.0. -CG
   3774 
   3775 Thu Feb  5 22:43:45 MST 2009
   3776 	 Incompatible API change to allow 64-bit uploads and downloads.
   3777 	 Clients must use "uint64_t" for the "pos"
   3778 	 argument (MHD_ContentReaderCallback) and the "off"
   3779 	 argument (MHD_PostDataIterator) and the "size"
   3780 	 argument (MHD_create_response_from_callback) now.
   3781 	 Also, "unsigned int" was changed to "size_t" for
   3782 	 the "upload_data_size" argument (MHD_AccessHandlerCallback),
   3783 	 the argument to MHD_OPTION_CONNECTION_MEMORY_LIMIT,
   3784 	 the "block_size" argument (MHD_create_response_from_callback),
   3785 	 the "buffer_size" argument (MHD_create_post_processor) and
   3786 	 the "post_data_len" argument (MHD_post_process).  You may
   3787 	 need to #include <stdint.h> before <microhttpd.h> from now on. -CG
   3788 
   3789 Thu Feb  5 20:21:08 MST 2009
   3790 	 Allow getting address information about the connecting
   3791 	 client after the accept call. -CG
   3792 
   3793 Mon Feb  2 22:21:48 MST 2009
   3794 	 Fixed missing size adjustment for offsets for %-encoded
   3795 	 arguments processed by the post processor (Mantis #1447). -CG/SN
   3796 
   3797 Fri Jan 23 16:57:21 MST 2009
   3798 	 Support charset specification (ignore) after content-type
   3799 	 when post-processing HTTP POST requests (Mantis #1443). -CG/SN
   3800 
   3801 Fri Dec 26 23:08:04 MST 2008
   3802 	 Fixed broken check for identical connection address. -CG
   3803 	 Making cookie parser more RFC2109 compliant (handle
   3804 	 spaces around key, allow value to be optional). -CG
   3805 
   3806 Sat Dec  6 18:36:17 MST 2008
   3807 	 Added configure option to disable checking for CURL support.
   3808 	 Added MHD_OPTION to allow specification of custom logger. -CG
   3809 
   3810 Tue Nov 18 01:19:53 MST 2008
   3811 	 Removed support for untested and/or broken SSL features
   3812 	 and (largely useless) options. -CG
   3813 
   3814 Sun Nov 16 16:54:54 MST 2008
   3815 	 Added option to get unparsed URI via callback.
   3816 	 Releasing GNU libmicrohttpd 0.4.0pre1. -CG
   3817 
   3818 Sun Nov 16 02:48:14 MST 2008
   3819 	 Removed tons of dead code. -CG
   3820 
   3821 Sat Nov 15 17:34:24 MST 2008
   3822 	 Added build support for code coverage analysis. -CG
   3823 
   3824 Sat Nov 15 00:31:33 MST 2008
   3825 	 Removing (broken) support for HTTPS servers with
   3826 	 anonymous (aka "no") certificates as well as
   3827 	 various useless dead code. -CG
   3828 
   3829 Sat Nov  8 02:18:42 MST 2008
   3830 	 Unset TCP_CORK at the end of transmitting a response
   3831 	 to improve performance (on systems where this is
   3832 	 supported). -MM
   3833 
   3834 Tue Sep 30 16:48:08 MDT 2008
   3835 	 Make MHD useful to Cygwin users; detect IPv6 headers
   3836 	 in configure.
   3837 
   3838 Sun Sep 28 14:57:46 MDT 2008
   3839 	 Unescape URIs (convert "%ef%e4%45" to "中国"). -CG
   3840 
   3841 Wed Sep 10 22:43:59 MDT 2008
   3842 	 Releasing GNU libmicrohttpd 0.4.0pre0. -CG
   3843 
   3844 Wed Sep 10 21:36:06 MDT 2008
   3845 	 Fixed data race on closing sockets during
   3846 	 shutdown (in one-thread-per-connection mode). -CG
   3847 
   3848 Thu Sep  4 23:37:18 MDT 2008
   3849 	 Fixed some boundary issues with processing
   3850 	 chunked requests; removed memmove from a
   3851 	 number of spots, in favor of using an index into
   3852 	 the current buffer instead. -GS
   3853 
   3854 Sun Aug 24 13:05:41 MDT 2008
   3855 	 Now handling clients returning 0 from response callback
   3856 	 as specified in the documentation (abort if internal
   3857 	 select is used, retry immediately if a thread per
   3858 	 connection is used). -CG
   3859 
   3860 Sun Aug 24 12:44:43 MDT 2008
   3861 	 Added missing reason phrase. -SG
   3862 
   3863 Sun Aug 24 10:33:22 MDT 2008
   3864 	 Fixed bug where MHD failed to transmit the response when
   3865 	 the client decided not to send "100 CONTINUE" during
   3866 	 a PUT/POST request. -CG
   3867 
   3868 Wed Jul 16 18:54:03 MDT 2008
   3869 	 Fixed bug generating chunked responses with chunk sizes
   3870 	 greater than 0xFFFFFF (would cause protocol violations). -CG
   3871 
   3872 Mon May 26 13:28:57 MDT 2008
   3873 	 Updated and improved documentation.
   3874 	 Releasing GNU libmicrohttpd 0.3.1. -CG
   3875 
   3876 Fri May 23 16:54:41 MDT 2008
   3877 	 Fixed issue with postprocessor not handling URI-encoded
   3878 	 values of more than 1024 bytes correctly. -CG
   3879 
   3880 Mon May  5 09:18:29 MDT 2008
   3881 	 Fixed date header (was off by 1900 years). -JP
   3882 
   3883 Sun Apr 13 01:06:20 MDT 2008
   3884 	 Releasing GNU libmicrohttpd 0.3.0. -CG
   3885 
   3886 Sat Apr 12 21:34:26 MDT 2008
   3887 	 Generate an internal server error if the programmer fails
   3888 	 to handle upload data correctly.  Tweaked testcases to
   3889 	 avoid running into the problem in the testcases.
   3890 	 Completed zzuf-based fuzzing testcases.  -CG
   3891 
   3892 Sat Apr 12 15:14:05 MDT 2008
   3893 	 Restructured the code (curl-testcases and zzuf testcases
   3894 	 are now in different directories; code examples are in
   3895 	 src/examples/).
   3896 	 Fixed a problem (introduced in 0.2.3) with handling very
   3897 	 large requests (the code did not return proper error code).
   3898 	 If "--enable-messages" is specified, the code now includes
   3899 	 reasonable default HTML webpages for various built-in
   3900 	 errors (such as request too large and malformed requests).
   3901 	 Without that flag, the webpages returned will still be
   3902 	 empty.
   3903 	 Started to add zzuf-based fuzzing-testcases (these require
   3904 	 the zzuf and socat binaries to be installed). -CG
   3905 
   3906 Fri Apr 11 20:20:34 MDT 2008
   3907 	 I hereby dub libmicrohttpd a GNU package. -Richard Stallman
   3908 
   3909 Sat Mar 29 22:36:09 MDT 2008
   3910 	 Fixed bugs in handling of malformed HTTP requests
   3911 	 (causing either NULL dereferences or connections to
   3912 	 persist until time-out, if any). -CG
   3913 
   3914 	 Updated and integrated TexInfo documentation. -CG
   3915 
   3916 Tue Mar 25 13:40:53 MDT 2008
   3917 	 Prevent multi-part post-processor from going to error
   3918 	 state when the input buffer is full and current token
   3919 	 just changes processor state without consuming any data.
   3920 	 Also, the original implementation would not consume any
   3921 	 input in process_value_to_boundary if there is no new
   3922 	 line character in sight. -AS
   3923 
   3924 	 Remove checks for request method after it finished writing
   3925 	 response footers as it's only _pipelined_ requests that
   3926 	 should not be allowed after POST or PUT requests.  Reusing
   3927 	 the existing connection is perfectly ok though.  And there
   3928 	 is no reliable way to detect pipelining on server side
   3929 	 anyway so it is the client's responsibility to not send new
   3930 	 data before it gets a response after a POST operation. -AS
   3931 
   3932 	 Clarified license in man page. Releasing
   3933          libmicrohttpd 0.2.3 -CG
   3934 
   3935 Sat Mar 22 01:12:38 MDT 2008
   3936 	 Releasing libmicrohttpd 0.2.2. -CG
   3937 
   3938 Mon Feb 25 19:13:53 MST 2008
   3939 	 Fixed a problem with sockets closed for reading ending up
   3940 	 in the read set under certain circumstances. -CG
   3941 
   3942 Wed Jan 30 23:15:44 MST 2008
   3943 	 Added support for nested multiparts to post processor.
   3944 	 Made sure that MHD does not allow pipelining for methods
   3945 	 other than HEAD and GET (and of course still also only
   3946 	 allows it for http 1.1).  Releasing libmicrohttpd 0.2.1.  -CG
   3947 
   3948 Mon Jan 21 11:59:46 MST 2008
   3949 	 Added option to limit number of concurrent connections
   3950 	 accepted from the same IP address. -CG
   3951 
   3952 Fri Jan  4 16:02:08 MST 2008
   3953 	 Fix to properly close connection if application signals
   3954 	 problem handling the request. - AS
   3955 
   3956 Wed Jan  2 16:41:05 MST 2008
   3957 	 Improvements and bugfixes to post processor implementation. - AS
   3958 
   3959 Wed Dec 19 21:12:04 MST 2007
   3960 	 Implemented chunked (HTTP 1.1) downloads (including
   3961 	 sending of HTTP footers).  Also allowed queuing of
   3962 	 a response early to suppress the otherwise automatic
   3963 	 "100 CONTINUE" response.  Removed the mostly useless
   3964 	 "(un)register handler" methods from the API.  Changed
   3965 	 the internal implementation to use a finite state
   3966 	 machine (cleaner code, slightly less memory consumption).
   3967 	 Releasing libmicrohttpd 0.2.0. - CG
   3968 
   3969 Sun Dec 16 03:24:13 MST 2007
   3970 	 Implemented handling of chunked (HTTP 1.1) uploads.
   3971 	 Note that the upload callback must be able to
   3972 	 process chunks in the size uploaded by the client,
   3973 	 MHD will not "join" small chunks into a big
   3974 	 contiguous block of memory (even if buffer space
   3975 	 would be available).  - CG
   3976 
   3977 Wed Dec  5 21:39:35 MST 2007
   3978 	 Fixed race in multi-threaded server mode.
   3979 	 Fixed handling of POST data when receiving a
   3980 	 "Connection: close" header (#1296).
   3981 	 Releasing libmicrohttpd 0.1.2. - CG
   3982 
   3983 Sat Nov 17 00:55:24 MST 2007
   3984 	 Fixed off-by-one in error message string matching.
   3985 	 Added code to avoid generating SIGPIPE on platforms
   3986 	 where this is possible (everywhere else, the main
   3987 	 application should install a handler for SIGPIPE).
   3988 
   3989 Thu Oct 11 11:02:06 MDT 2007
   3990 	 Releasing libmicrohttpd 0.1.1. - CG
   3991 
   3992 Thu Oct 11 10:09:12 MDT 2007
   3993 	 Fixing response to include HTTP status message. - EG
   3994 
   3995 Thu Sep 27 10:19:46 MDT 2007
   3996 	 Fixing parsing of "%xx" in URLs with GET arguments. - eglaysher
   3997 
   3998 Sun Sep  9 14:32:23 MDT 2007
   3999 	 Added option to compile debug/warning messages;
   4000 	 error messages are now disabled by default.
   4001 	 Modified linker option for GNU LD to not export
   4002 	 non-public symbols (further reduces binary size).
   4003 	 Releasing libmicrohttpd 0.1.0. - CG
   4004 
   4005 Sat Sep  8 21:54:04 MDT 2007
   4006 	 Extended API to allow for incremental POST
   4007 	 processing.  The new API is binary-compatible
   4008 	 as long as the app does not handle POSTs, but
   4009 	 since that maybe the case, we're strictly speaking
   4010 	 breaking backwards compatibility (since url-encoded
   4011 	 POST data is no longer obtained the same way). - CG
   4012 
   4013 Thu Aug 30 00:59:24 MDT 2007
   4014 	 Improving API to allow clients to associate state
   4015          with a connection and to be notified about request
   4016          termination (this is a binary-compatible change). - CG
   4017 	 Fixed compile errors under OS X. - HL
   4018 
   4019 Sun Aug 26 03:11:46 MDT 2007
   4020 	 Added MHD_USE_PEDANTIC_CHECKS option which enforces
   4021 	 receiving a "Host:" header in HTTP 1.1 (and sends a
   4022 	 HTTP 400 status back if this is violated). - CG
   4023 
   4024 Tue Aug 21 01:01:46 MDT 2007
   4025 	 Fixing assertion failure that occurred when a client
   4026 	 closed the connection after sending some data but
   4027 	 not the full headers. - CG
   4028 
   4029 Sat Aug 18 03:06:09 MDT 2007
   4030 	 Check for out of memory when adding headers to
   4031 	 responses.  Check for NULL key when looking
   4032 	 for headers.   If a content reader callback
   4033 	 for a response returns zero (has no data yet),
   4034 	 do not possibly fall into busy waiting when
   4035 	 using external select (with internal selects
   4036 	 we have no choice).  - CG
   4037 
   4038 Wed Aug 15 01:46:44 MDT 2007
   4039 	 Extending API to allow timeout of connections.
   4040 	 Changed API (MHD_create_response_from_callback) to
   4041 	 allow user to specify IO buffer size.
   4042 	 Improved error handling.
   4043          Released libmicrohttpd 0.0.3. - CG
   4044 
   4045 Tue Aug 14 19:45:49 MDT 2007
   4046 	 Changed license to LGPL (with consent from all contributors).
   4047          Released libmicrohttpd 0.0.2. - CG
   4048 
   4049 Sun Aug 12 00:09:26 MDT 2007
   4050 	 Released libmicrohttpd 0.0.1. - CG
   4051 
   4052 Fri Aug 10 17:31:23 MDT 2007
   4053 	 Fixed problems with handling of responses created from
   4054 	 callbacks.  Allowing accept policy callback to be NULL
   4055 	 (to accept from all).  Added minimal fileserver example.
   4056 	 Only send 100 continue header when specifically requested. - CG
   4057 
   4058 Wed Aug  8 01:46:06 MDT 2007
   4059 	 Added pool allocation and connection limitations (total
   4060 	 number and memory size).  Released libmicrohttpd 0.0.0. - CG
   4061 
   4062 Tue Jan  9 20:52:48 MST 2007
   4063 	 Created project build files and updated API. - CG