Commit graph

80 commits

Author SHA1 Message Date
wiz
3dbeee8487 *: recursive bump for icu 74.1 2023-11-08 13:18:02 +00:00
wiz
90f4599de1 *: bump for openssl 3 2023-10-24 22:08:07 +00:00
nikita
4e4de6f69f libmicrohttpd: update comment 2023-05-30 16:05:32 +00:00
nikita
6253ec3c6a libmicrohttpd: update to version 0.9.77
Changelog:

This is mostly a bugfix release.
This version created by taking patches from the current development branch and
back-porting them on top of version 0.9.76.
The most notable changes are: some improvements for Digest and Basic
authorizations, fixed efficiency for TLS upgraded connections, fixed
processing of folded headers in requests, fixed functionality with blocking
sockets, improved and fixed internal test-suite.

The more detailed list of the important changes:

API changes:
+ Added new function MHD_get_version_bin().

Improvements and enhancements:
* Digest Auth: changed algorithm identifiers in server generated headers from
"md5" / "sha-256" to "MD5" / "SHA-256" to better match RFC (while clients
should use caseless matching).
* Improved Base64 decoding by new implementation with robust input data
validation checks.
* Improved configure for cross-compiling, for better compatibility with POSIX
and for better compatibility with the latest compiler versions.
* New internal tests: for Base64 decoding, Basic Auth and folded headers.
* Supported new libcurl API in tests to mute deprecation warnings.
* Supported ARM and ARM64 for VC compilers.

Functionality changes:
* any negative number returned by response data generation callback function
is treated as an error. Previously negative values except predefined error
codes could produce undefined behaviour.
* Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG".

Fixes:
# Fixed functionality with blocking sockets.
# Fixed very inefficient data pumping for upgraded TLS connections.
# Fixed processing of folded headers in the requests.
# Fixed data races when closing upgraded connection.
# Removed duplication of "Connection: upgrade" header.
# Digest auth: fixed thread sync to avoid "stale hash" results.
# Fixed harmless unwanted extra data processing resulting in triggering of the
assert.
# Fixed tests for LTO.
# Removed removed non-portable functions in examples.
# Fixed delayed call of connection notification callback in
thread-per-connection mode.
# Fixed Address Sanitizer unpoison of memory when memory pool is destroyed.
This fixed periodic ASAN error when used for a long time with the sanitizer.
# Fixed compiler warnings in library code, examples, tests and configure
checks.
# New TLS certificates for test-suite: all with SAN fields and SHA-256 hash.
# Tests: fixed tests on Darwin 22.x (Ventura).
# Tests: redesigned one tests group to avoid stress-testing of the OS.
2023-05-30 16:04:28 +00:00
adam
b8410cfcaf revbump after textproc/icu update 2023-04-19 08:08:03 +00:00
nikita
173ebe36cd libmicrohttpd: update to version 0.9.76
ChangeLog:

Sun Feb 26 05:49:30 PM CET 2023
    Fix potential DoS vector in MHD_PostProcessor discovered
    by Gynvael Coldwind and Dejan Alvadzijevic. -CG
    Releasing GNU libmicrohttpd 0.9.76 hotfix. -CG
2023-02-27 19:53:33 +00:00
wiz
530502eac9 *: bump PKGREVISION for libunistring shlib major bump 2022-10-26 10:31:00 +00:00
nikita
ea960d0132 libmicrohttpd: Update to 0.9.75
ChangeLog:
Sun 26 Dec 2021 20:30:00 MSK
    Releasing GNU libmicrohttpd 0.9.75 -EG

December 2021
    Fixed Makefile warning on MinGW.
    Fixed compiler warning on MinGW.
    Fixed "configure" portability (for NetBSD).
    MSVC project cosmetics.
    MSVC fixed project to fix linker warning.
    Fixed compiler warning on some platforms.
    Further improved test_client_put_stop to get stable results on all
    platforms.
    Added workaround for platforms (like OpenBSD) where system monotonic clocks
    may jump forward and back.
    Added more checks in test_large_put, increased timeout (was too small for
    this test). -EG

Sun 19 Dec 2021 18:30:00 MSK
    Releasing GNU libmicrohttpd 0.9.74 -EG

December 2021
    Fixed doxy for MHD_suspend_connection().
    Some code improvements for new test test_client_put_stop.
    Added special log message if thread creation failed due to system limits.
    Fully restructured new_connection_process_() to correctly handle errors,
    fixed missing decrement of number of daemon connections if any error
    encountered, fixed app notification of connection termination when app has
    not been notified about connection start, fixed (highly unlikely) reset of
    the list of connections if reached daemon's connections limit.
    configure: fixed some compiler warnings reported in config.log.
    Fixed tests on FreeBSD to support system-limited rate of RST packets and
    'blackhole' system setting. -EG
    Fixed tests for libmagic to really use libmagic in examples. -CG
    Used tricks in code formatting to workaround uncrustify bugs.
    configure: improved compatibility with various shells.
    configure: added selective enable of sanitizers.
    Fixed compatibility with old GnuTLS versions.
    Fixed tests compatibility with old libcurl versions.
    Fixed busy-waiting in test_timeout (fixed CPU load spikes in the test).
    test_https_time_out: check rewritten, previously it is was no-op.
    test_upgrade{,_large}: fixed passing of socket value to GnuTLS on W32.
    Simplified Makefile for HTTPS tests.
    Added detection of old broken GnuTLS builds (on RHEL6 and clones) and
    disabled some tests broken with these builds.
    Muted compiler warnings with old libcurl versions.
    Reworked dlltool support: added support for weakened oversimplified
    half-broken llvm-dlltool
    Silenced MS lib tool warning and MS lib tool invocation.
    Added Makefiles rules for automatic regeneration of all required files if
    anything is missing.
    Added Makefile silent rules support for W32 RC and W32 static libs.
    Added local patches for autotools (mainly for libtool) to build MHD
    correctly on modern MinGW64/Clang.
    Updated HTTP headers macros from registry. -EG

November 2021
    Clarified comments and doxy for MHD_str* and related tests.
    MHD_uint32_to_strx(): rewritten for readability and minor optimization,
    used indexes instead of pointers.
    Documented in doxy how to use MHD_AccessHandlerCallback.
    mhd_sockets: added more network error codes.
    W32 socket pair: set TCP_NODELAY to avoid unwanted buffering and delays.
    Additional doxy fixes in microhttpd.h.
    Fixed blocking sockets setting in tests and examples for W32.
    Added checks for fcntl() results in tests and examples.
    Added series of tests based on simple HTTP client implementation developed
    for testing of MHD.
    Renamed 'early_response' connection flag to 'discard_request' and reworked
    handling of connection's flags.
    Clarified request termination reasons doxy, fixed reporting of
    MHD_REQUEST_TERMINATED_READ_ERROR (previously this code was not really used
    in reporting).
    Enforce all libcurl tests exit code to be zero or one.
    Rewritten client upload processing: removed redundant checks, fixed
    skipping of chunk closure when not data is not received yet, fixed skipping
    of the last LF in termination chunk, handle correctly chunk sizes with more
    than 16 digits (leading zeros are valid according to HTTP RFC), fixed
    handling of CRCR, LFCR, LFLF, and bare CR as single line delimiters, report
    error when invalid chunk format is received without waiting to receive
    (possibly missing) end of the line, reply to the client with special error
    if chunk size is too large to be handled by MHD (>16 EiB).
    Added error reply if client used too large request payload (>16 EiB).
    Fixed return value for MHD_FEATURE_AUTOSUPPRESS_SIGPIPE on W32, now it
    returns MHD_YES as W32 does not need sigpipe suppression.
    configure: reordered and improved headers detection. Some headers require
    other headers to be included before, now configure supports it.
    Added missing ifdef guard for <stdbool.h>.
    mhd_sockets: reordered includes for better compatibility.
    Some code readability and formatting improvements. -EG

October 2021
    Added test family test_toolarge to check correct handling of the buffers
    when the size of data is larger than free space.
    Fixed missing updated of read and write buffers sizes.
    Added detection and use of supported "noreturn" keyword for function
    declaration. It should help compiler and static analyser.
    Added support for leak sanitizer.
    Fixed analyser errors on W32.
    Partially reworked memory allocation from the pool, more robust
    implementation, always track read and write buffers.
    Added custom memory poisoning in memory pool with address sanitizer.
    Added missing update of the read buffer size.
    Addition for doxy for new behaviour of MHD_del_response_header().
    Added two tests with non-standard symbols in requests.
    Removed double close of connection with error in headers processing.
    Respond to the client with error if chunked request has broken chunked
    encoding as required by HTTP RFC instead of just closing the connection.
    Fixed request headers processing. Do not recognize bare CR as end of line.
    Fixed processing of CRCR, bare CR, LFCR, and LFLF as end of the line for
    request chunked encoding. Now only CRLF or bare LF are recognized as end
    of line.
    Added Lawrence Sebald to the AUTHORS file (iovec-based responses).
    Check for PAGESIZE and PAGE_SIZE macros and check whether they can be used
    for static variable initialization.
    Include "MHD_config.h" before all other includes to set macros required to
    be set before standard includes.
    Chunked response: abort with error if application returns more data than
    requested.
    Monotonic clock: use only native clock on W32 as all other clocks are just
    wrappers.
    W32: fixed builds with MSVC, added projects for VS2022, added MSVC
    universal project that use latest available toolset, use C17 if supported.
    Chunked response: fixed calculation of number of bytes left to send.
    microhttpd.h: doxy clarifications for sockets polling.
    Updated HTTP statuses, methods, and headers names from the registries.
    Further improved doxy for MHD_add_response_header().
    A few comments improvements and clarifications.
    Added internal connection's flag indicating discard of the request. -EG
    Websockets update by David Gausmann. -DG
    Fixed reported value for MHD_CONNECTION_INFO_CONNECTION_TIMEOUT.
    Minor code readability improvements in MHD_set_connection_option().
    Improved doxy for MHD_get_timeout().
    Memorypool: minor code improvements. -EG

September 2021
    Improved system includes headers detection and usage. Removed unused
    headers detection.
    Added indirect calculation of maximum values at compile time by
    using types size detection. These values are used only to mute
    compiler warnings.
    Fixed pre-compiler errors if various *_MAX macros defined with
    non-digits symbols not readable for pre-compiler.
    Limit number of used CPU cores in tests to 6, unless heavy tests are
    enabled.
    Disabled parallel tests with libcurl if heavy tests are enabled.
    configure: removed '--enable-sanitizer' and added '--enable-sanitizers'
    parameters. Added testing for supported sanitizers and enabling only
    supported sanitizers.
    Added support for run-time sanitizers settings for tests when
    sanitizers are enabled.
    Added support for undefined behavior sanitizer without run-time library.
    Fixed various undefined behavior sanitizer detected errors, improved
    portability.
    Fixed how bitwise NOT is used with enum, fixed portability.
    microhttpd.h: changed macros MHD_CONTENT_READER_* to use ssize_t.
    test_postprocessor: added more check, improved error reporting, added
    new test data.
    postprocessor: fixed undefined behavior (memcpy(), memmove() with zero
    size and NULL pointer).
    Updated copyright year in W32 DLLs.
    postprocessor: fixed empty key processing.
    test_postprocessor: added tests with hex-encoded values.
    postprocessor: fixed incomplete processing of the last part of hex-encoded
    value if data was broken into certain sized pieces.
    Used type specifiers for printf() from inttypes.h to improved compatibility
    with various run-time libs. Fallback to standard values if type specifiers
    are not defined.
    Added detection of used run-time library (MSVCRT/UCRT) on W32.
    testcurl: fixed incorrect case-insensitive match for method name. Method
    name must be checked by using case-sensitive match.
    microhttpd.h: clarified some doxy descriptions.
    Prevented potential double sending of error responses.
    Fixed application notification with MHD_REQUEST_TERMINATED_COMPLETED_OK
    when error response has been sent (MHD_REQUEST_TERMINATED_WITH_ERROR is
    used).
    Avoid trying to send error response if response is already being sent.
    Improved log error message when error response is processing. -EG

August 2021
    Silently drop "keep-alive" token from response "connection" header,
    "keep-alive" cannot be enforced and always enabled if possible.
    Further improved doxy for MHD_add_response_header().
    Added detection of the "Date:" header in the response headers set by
    app at response forming time.
    Disallow space in response header name, allow tab in response header
    value.
    Added internal MHD_uint8_to_str_pad() function.
    Used internal MHD_uint8_to_str_pad() in datestamp generation function.
    Added detection and reporting of incorrect "Upgrade" responses. -EG
    Fixed short busy waiting (up to one second) when connection is going
    to be closed. -AI
    Minor improvement for test_callback, test_get_chunked
    Fixed chunked responses with known size.
    Added two more tests for chunked response.
    Fixed chunked responses with predefined data (without data callback).
    Fixed calculation of the buffer size for the next response chunk.
    Completely rewritten reply header build function. The old version
    had several levels of hacks, was unmaintainable, did not follow
    HTTP specification in details; fixed used caseless header matching
    where case-sensitive matching must be used; removed two passes of
    header building. New version use clear logic and can be extended
    when needed.
    Changed behaviour: "Connection: keep-alive" is not being sent
    for HTTP/1.1 connection (as per HTTP RFC).
    test_get_chunked: fixed error reporting.
    HTTPS tests: fixed memory leaks if function failed.
    libcurl tests: improved handling of curl multi_*.
    Added two tests for correct choice of "Keep-Alive" or "Close".
    Simplified Makefile for testcurl.
    Fixed select() error handling in tests.
    microhttpd.h: minor macro formatting
    Changed behaviour: if response size is unknown and chunked encoding is
    allowed, chunked encoding is used even for non-keep-alive connection as
    required by HTTP RFC.
    Added two more tests for chunked replies.
    Simplified keepalive_possible(); added new value for MHD_ConnKeepAlive,
    added third state "Upgrade".
    Changed behaviour: used HTTP/1.1 replies for HTTP/1.0 requests as
    required by HTTP RFC. HTTP/1.0 reply still can be enforced by response
    flag.
    Added more doxy for MHD_ResponseFlags, added new names with the same
    values as old names: MHD_RF_HTTP_1_0_COMPATIBLE_STRICT and
    MHD_RF_HTTP_1_0_SERVER.
    Added new value MHD_RF_SEND_KEEP_ALIVE_HEADER to enforce sending of
    "Connection: keep-alive" even for HTTP/1.1 clients when keep-alive is
    used.
    test_get_close_keep_alive: added more combinations of parameters to
    check.
    Added separate flag for chunked response in connection instead of
    reusing the same flag as for chunked request.
    Added new connection's flag "stop_with_error".
    Fixed empty first line processing: the request could be not processed
    unless something else kicks next processing the same connection again.
    Added new connection states: MHD_CONNECTION_REQ_LINE_RECEIVING,
    MHD_CONNECTION_FULL_REQ_RECEIVED, MHD_CONNECTION_START_REPLY to
    simplify states logic.
    Changed write buffer allocation logic: as connection buffer size is
    known and fixed, use initially use full buffer for writing and reduce
    size of part used for writing if another allocation from the same
    buffer needs to be done. Implemented helper function to automatically
    reduce the size of read or write part to allocate buffer for other
    needs.
    Added define of NDEBUG if neither _DEBUG nor NDEBUG are defined.
    As accepted sockets inherit non-blocking flag from listening socket
    on all platform except Linux, track this state to use less number
    of syscalls.
    Fixed compiler and static analyser warnings.
    Moved HTTPS tests helper file to the HTTPS tests directory.
    Minor Makefiles cleanup.
    Added support for new monotonic clock ids.
    Added new internal monotonic clock function with milliseconds accuracy.
    Fixed support of custom connection timeout in thread-per-connection mode.
    Added more error checking to test_timeout.
    microhttpd.h: removed duplicated macro.
    Refined timeouts handling. Switched from seconds resolution to milliseconds
    resolution, added automatic detection and support of low-resolution system
    clock to avoid busy-waiting at connection expiration. Added log message
    for too large timeout period (> 146 million years) with trim to supported
    values. -EG

Wed 04 Aug 2021 06:56:52 PM CEST
    Introduce new MHD_CONNECTION_INFO_HTTP_STATUS. -CG

July 2021
    Added automatic response flags with detection when response
    is being formed.
    Added special processing for response "Connection" headers, combined
    multiple "Connection" headers into single header.
    Restructured MSVC project files.
    Changed MSVC project defaults to Vista+ (WinXP is still supported).
    Fixed copy-paste error in mhd_aligh.h, added support for MSVC.
    Added internal function for printing hex and decimals numbers.
    Reply chunked body handling fixes, used new internal functions
    instead of snprintf().
    Added automatic response flag when app sets chunked encoding header.
    New internal function for chunked reply footer forming. Unification with
    reply header forming function just over-complicated things and made
    function hardly maintainable.
    Added new function MHD_get_reason_phrase_len_for(), related tests and
    updated scripts for response phrases.
    Added more tests for chunked replies.
    Added function to reset connection state after finishing processing of
    request-reply to prepare for the next request.
    Added even more tests for chunked replies.
    Added internal function for printing uint64_t decimal numbers. -EG

June 2021
    Tests: implemented checking of response footer.
    Fixed loss of incoming data if more than half of buffer is
    used for the next request data.
    Fixed completely broken calculation of request header size.
    Chunked response: do not ask app callback for more data then
    it is possible to process (more than 16 MBytes).
    Check and report if app used wrong response code (>999 or <100)
    Refuse to add second "Transfer-Encoding" header.
    HTTPS tests: check whether all libcurl function succeeded.
    HTTPS tests: implemented new detection of TLS backend.
    HTTPS tests: fixed tests with new TLS defaults (SSL forbidden).
    Implemented detection of basic HTTP methods, fixed wrong
    caseless matching for HTTP method names.
    MHD_create_response_*() functions: improved doxy.
    MHD_add_response_header: added detailed comment about automatic
    headers.
    Do not allow responses with 1xx codes for HTTP/1.0 requests.
    Fixed used order of headers: now user response headers are used in
    the same order as was added by application.
    Added new internal function MHD_get_response_element_n_().
    Added detection of more compiler built-ins for bits rotations.
    Minor optimisation of caseless strings matching.
    Added MHD_str_remove_token_caseless_() function and tests.
    Added MHD_str_remove_tokens_caseless_() function and tests. -EG

May 2021
    Doxy description clarifications for MHD_get_timeout() and related
    functions.
    Added MHD_create_response_from_buffer_with_free_callback_cls().
    Added SHA-1 calculation (required for WebSockets).
    Added new internal header mhd_aligh.h for checking alignment of
    variables.
    Fixed SHA-256 and MD5 calculation with unaligned data.
    Added tests for hashes with unaligned data.
    Used compiler built-ins for bits rotations.
    Added detection of HTTP version at early stage.
    Added early response of unsupported HTTP version.
    Fixed wrong caseless matches for HTTP version strings.
    Added calculation of error responses at compile time (avoided
    repeated strlen() for known data). -EG

April 2021
    New test for reply chunked encoding. -EG

Mon 26 Apr 2021 02:09:46 PM CEST
    Importing experimental Websocket support by David Gausmann. -CG
2021-12-29 08:34:52 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
nia
0a4acf7fe3 www: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
2021-10-26 11:29:14 +00:00
nia
973412e332 www: Remove SHA1 hashes for distfiles 2021-10-07 15:06:57 +00:00
adam
5e7c36d9d2 revbump for boost-libs 2021-09-29 19:00:02 +00:00
wiz
816a1033ba libmicrohttpd: update to 0.9.73.
Sun 25 Apr 2021 14:00:00 MSK
Released GNU libmicrohttpd 0.9.73

    This release brings new features, improvements, and a few fixes.
    The most important addition is the new function for vector-backed
    responses, based on the patch contributed by NASA engineers.
    Other changes include compatibility with autoconf 2.70+, improved
    testsuite compatibility with CI systems, fixed and improved MSVC
    builds, and implemention of ALPN support.

    More detailed list of notable changes:

    API changes:
    + Added new function MHD_create_response_from_iovec(), based on the
      patch provided by Lawrence Sebald and Damon N. Earp from NASA.
    + Added MHD_OPTION_SIGPIPE_HANDLED_BY_APP daemon option.
    + Added new function MHD_run_wait().
    + Added MHD_OPTION_TLS_NO_ALPN to disable usage of ALPN even if
      it is supported by TLS library.

    New features:
    + Added '--enable-heavy-tests' configure parameter (disabled by
      default).
    + Implemented support for ALPN.

    Improvements and enhancements:
    * Return timeout of zero also for connections awaiting cleanup.
    * Compatibility with autoconf >=2.70, used new autoconf features.
    * Warn user when custom logger option is not the first option.
    * Added information to the header about minimal MHD version when
      particular symbols were introduced.
    * Updated test certificates to be compatible with modern browsers.
    * Added on-fly detection of UNIX domain sockets and pipes, MHD does
      not try to use TCP/IP-specific socket options on them.
    * Report more detailed error description in the MHD log for send
      and receive errors.
    * Enabled bind port autodetection for MSVC builds.

    Fixes:
    # Fix PostProcessor to always properly stop iteration when
      application callback tells it to do so.
    # Fixed MD5 digest authorization broken when compiled without
      variable length arrays support (notably with MSVC).
    # Fixed detection of type of send errors on W32.

    -- Evgeny Grin (Karlson2k)
2021-05-02 19:06:05 +00:00
adam
da0a125726 revbump for boost-libs 2021-04-21 13:24:06 +00:00
wiz
f7906f8dea libmicrohttpd: make curl a build dependency.
Only needed for tests.

Bump PKGREVISION.
2021-01-14 17:17:30 +00:00
wiz
c7bdb18073 libmicrohttpd: Reduce dependencies, and some cleanups.
As suggested by Evgeny Grin.

Bump PKGREVISION.

XXX: curl is used for tests only, but needs to be linked.
How to express this?
2021-01-14 16:10:57 +00:00
wiz
72f11c3625 libmicrohttpd: add test status 2021-01-03 09:52:33 +00:00
wiz
1895b6dd26 libmicrohttpd: update to 0.9.72.
Mon 28 Dec 2020 21:36:00 MSK
    Releasing libmicrohttpd 0.9.72. -EG

Mon 28 Dec 2020 09:37:00 MSK
    Completely reworked and rewritten TCP_CORK, TCP_NOPUSH, TCP_NODELAY and
    MSG_MORE handling. Reduced number of sys-calls, fixed portability for
    FreeBSD, OpenBSD, NetBSD, Darwin, W32, Solaris.
    Removed usage of gnutls_record_cork() as it fully blocks stream until
    final block is ready.
    Fixed compatibility with C90 compilers.
    Really started using sendmsg() for header + body combined single-call
    response sending.
    Fixed sending of response body by sendmsg() when it shouldn't be sent,
    like responses for HEAD requests.
    Improved error handling for gnutls_record_send().
    Updated W32 resources for .DLLs.
    Fixed building with various disabled features (like messages, HTTPS,
    http-upgrade, authorization etc.)
    Fixed possible SIGPIPE generation when sendfile() is used (it was always
    possible on Linux that sendfile() produce SIGPIPE, now it's fixed).
    Several compiler warnings muted and/or fixed in the lib code and in
    the examples. -EG

Sun 01 Nov 2020 17:17:00 MSK
    Fixed conflict with system CPU_COUNT macro.
    Minor improvements of error reporting in MHD daemon.
    Fixed FTBFS with GnuTLS versions before 3.1.9
    Fixed test_add_conn for multi-CPU machines.
    Fixed analyzer warnings.
    Fixed use-after-free and resources leaks for upgraded connections
    in TLS mode with thread-per-connection. -EG

Sun 25 Oct 2020 19:31:00 MSK
    Fixed epoll mode without listening socket.
    Minor improvements of thread sync.
    Fixed broken sendfile on FreeBSD.
    Fixed broken MHD with thread-pool and without listening socket.
    Added four tests for MHD_add_connection().
    Fixed several resources leaks in error handlers.
    Re-implemented scheme of handling of externally added connections,
    fixed thread-safety. -EG

Wed 21 Oct 2020 10:00:58 AM CEST
    Corking should be OFF when sending the footer (#6610). -AP/CG

Wed 07 Oct 2020 11:07:00 MSK
    W32 default target version changed to Vista, XP is still supported.
    Minor fixes and additional asserts for memorypool.
    IPv6 tests are not used if IPv6 is disabled at run-time. -EG

Sun 27 Sep 2020 10:08:03 PM CEST
    Fixed incorrect triggering of epoll edge polling for
    "upgraded" TLS connections.  Fixed a few cases where
    gnutls_record_uncork() return value was still ignored,
    possibly causing buffer to not be flushed correctly. -CG

Sat 26 Sep 2020 08:18:02 PM CEST
    Make MHD_USE_NO_LISTEN_SOCKET work in conjunction with
    MHD internal threads. -CG/DE

Thu 24 Sep 2020 16:55:00 MSK
    Fixed compiler warnings on W32.
    Minor optimisation of MHD_YES/MHD_NO internal usage.
    Refactor and cleanup of internal debugging macros.
    Updated HTTP status codes, header names and methods from
    the registries.
    Fixed portability of test_upgrade_large.
    Minor testsuite fixes.
    Restored parallel build of libmicrohttpd (except tests). -EG

Fri 11 Sep 2020 10:08:22 PM CEST
    Fix crash problem in PostProcessor reported by MD. -CG
    Fix GnuTLS configure test to check for gnutls_record_uncork. -CG

Wed 19 Aug 2020 09:40:39 AM CEST
    Add logic to check on MHD_pool_reallocate() failure reported on the
    mailinglist (will NOT yet fix the issue). -CG

Sun 26 Jul 2020 01:56:54 PM CEST
    Add MHD_create_response_from_pipe() to allow creating a response based
    on data read from a pipe. -CG

Fri Jul 10 15:04:51 CEST 2020
    Fixed Postprocessor URL-encoded parsing if '%' fell on boundary. -CG/MD

Thu 02 Jul 2020 09:56:23 PM CEST
    Fixed return type of MHD_queue_basic_auth_fail_response. -CA/CG
2021-01-03 09:44:30 +00:00
nia
20fc0837e6 libmicrohttpd: Update to 0.9.71
Sun 28 Jun 2020 09:36:01 PM CEST
        Fix buffer overflow issue in URL parser.
        Releasing libmicrohttpd 0.9.71. -CG

Tue 16 Jun 2020 08:44:22 PM CEST
    Add logic to try again if GNUtls uncork() fails. -CG

Wed 10 Jun 2020 09:44:29 PM CEST
    Fixed PostProcessor bug discovered by MD, which given certain parser
    boundaries caused the returned values to be wrong. -CG/MD

Wed 08 Apr 2020 10:53:01 PM CEST
    Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much.
    Note that this change WILL cause compiler warnings until (most) MHD callbacks
    in application code change their return type from 'int' to 'enum MHD_Result'.
    That said, avoiding possible confusions of different enums is going to make
    the code more robust in the future. For conditional compilation, test
    for "MHD_VERSION >= 0x00097002". -CG

Tue 07 Apr 2020 02:58:39 PM BRT
    Fixed #5501 (Added example for how to provide a tiny threaded websocket server). -SC

Tue 31 Mar 2020 02:36:40 PM BRT
    Fixed #6142 (applied several spelling fixes). -DKG/-SC

Sat 07 Mar 2020 05:20:33 PM CET
    Fixed #6090 (misc. severe socket handling bugs on OS X). -CG
2020-08-09 15:27:47 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
adam
7d4b705c63 revbump after boost update 2020-05-06 14:04:05 +00:00
nikita
2ee2d68559 adjust maintainer to my new login 2020-04-28 11:46:27 +00:00
nia
ab9e7fffae libmicrohttpd: Update to 0.9.70
Sat 08 Feb 2020 09:12:54 PM CET
    Fixed 100-continue handling for PATCH method (#6068).
    Fixed FTBFS from wrong #endif position for certain builds (#6025).
    Fixed connection overflow issue when combining MHD_USE_NO_LISTEN_SOCKET
    with MHD_USE_THREAD_PER_CONNECTION (#6036).
    Updated m4 script to fix FTBFS when using -Werror=unused-but-set-parameter (#6078).
    Releasing libmicrohttpd 0.9.70. -CG

Thu Dec 26 14:43:27 CET 2019
    Adding fix for urlencoding of keys without values in
    post-processor logic. -CG

Tue 24 Dec 2019 03:32:18 PM CET
    Adding patch from Ethan Tuttle with test case for urlencoding
    in post-processor for keys without values. -CG/ET
2020-03-24 16:25:42 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +00:00
ryoon
eedd1e806f *: Recursive revbump from devel/boost-libs 2020-01-12 20:19:52 +00:00
ng0
b170fef2c3 www/libmicrohttpd: Update to version 0.9.69
Changelog:

Sun 15 Dec 2019 02:12:02 PM CET
    Fix send() call (affects Mac OS X). #5977 -CG/fbrault
    Releasing libmicrohttpd 0.9.69. -CG

Fri 29 Nov 2019 11:22:25 PM CET
    If application suspends a connection before we could send 100 CONTINUE,
    give application another shot at queuing a reply before the upload begins. -CG
2019-12-16 08:10:11 +00:00
ng0
290438f86f www/libmicrohttpd: Update to 0.9.68
Changelog:

Sat 26 Oct 2019 06:53:05 PM CEST
    Fix regression where MHD would fail to return an empty response
    when used with HTTPS.
    Releasing libmicrohttpd 0.9.68. -CG/TR

Fri 25 Oct 2019 02:31:59 PM CEST
    Introduce MHD_RF_INSANITY_HEADER_CONTENT_LENGTH. -CG
2019-10-26 17:58:34 +00:00
ng0
ead7897884 www/libmicrohttpd: fix build and functionality with some systems.
Add a patch from upstream which adds a previously missing return
for systems with TCP_NOPUSH and TCP_CORK.
2019-10-18 08:36:19 +00:00
ng0
999a3361fb www/libmicrohttpd: Update to 0.9.67
Changelog:

Thu 17 Oct 2019 04:50:52 PM CEST
    Integrate 0-byte send() method for uncorking for old FreeBSD/OS X
    systems into new mhd_send.c logic for uncorking.
    Releasing libmicrohttpd 0.9.67. -CG

Fri 18 Aug 2019 00:00:00 PM UTC
    Fixes and optimizations for the setsockopt handling:
    * Added: MHD_UPGRADE_ACTION_CORK_ON and MHD_UPGRADE_ACTION_CORK_OFF
      to enum MHD_UpgradeAction (turn corking on/off on the underlying
      socket).
    * Use calls and flags native to the system for corking and
      other operations, tested with performance improvements on
      FreeBSD, Debian Linux, NetBSD, and cygwin. In particular,
      this adds selective usage of MSG_MORE, NODELAY, TCP_NOPUSH,
      TCP_CORK. -ng0

Fri 09 Aug 2019 10:07:27 AM CEST
    Copy compiler and linker hardening flags from GNUnet (updating
    configure.ac). -CG
2019-10-17 17:25:50 +00:00
ryoon
edacf2bbcb Recursive revbump from boost-1.71.0 2019-08-22 12:22:48 +00:00
ng0
2bcb9527a2 www/libmicrohttpd: Update to 0.9.66
Changelog:

Thu 01 Aug 2019 01:23:36 PM CEST
    Releasing libmicrohttpd 0.9.66. -CG

Thu 01 Aug 2019 12:53:49 AM CEST
    Fix issue with discarding unhandled upload data discovered
    by Florian Dold. -CG

Mon 29 Jul 2019 08:01:50 PM CEST
    Fix hanging situation with large transmission over upgraded
    (i.e. Web socket) connection with epoll() and HTTPS enabled
    (as reported by Viet on the mailinglist). -CG

Thu 25 Jul 2019 02:40:12 PM CEST
    Fixing regression introduced in cc5032b85 (bit mask matching
    of the header kinds in MHD_lookup_connection_value()), as
    reported by Jose Bollo on the mailinglist. -CG/JB

Tue Jul 16 19:56:14 CEST 2019
    Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
    and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for. -TR
2019-08-13 11:06:07 +00:00
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
bsiegert
5830796976 Update libmicrohttpd to 0.9.65.
From ng0 via pkgsrc-wip.

Fri Jul 05 2019 22:30:40 MSK
	Releasing libmicrohttpd 0.9.65. -EG

Sun Jun 23 2019 21:27:43 MSK
	Many fixes and improvements for connection-specific memory pool:
	* Added asserts;
	* Added testing of reallocation;
	* Reallocation code rewritten to avoid extra allocation, when
	  possible to reuse already allocated memory;
	* Large memory pools aligned to system page size;
	* Large memory pools on W32 are cleared more securely after use,
	  optimised usage of system memory.
	Better handled connection's memory shortage situations:
	* error response could be sent to client even if all buffer space
	  was used;
	* if buffer space become low when receiving, do not allocate last
	  buffer space and use small receive blocks instead.
	Improved sending speed by using all available buffer space for
	sending. -EG

Sun Jun 09 2019 20:27:04 MSK
	Releasing libmicrohttpd 0.9.64. -EG

Sun Jun 09 2019 20:03:16 MSK
	Updated HTTP headers, methods and status codes from registries,
	Added scripts to import new headers, methods and status codes from
	registries,
	Minor doxyget comment fix,
	Added missing MSVS project files to tarball.
	Reodered includes in microhttpd.h -EG

Mon 03 Jun 2019 11:45:52 PM CEST
	Apply MHD_-prefix to hash functions, even if they are not in the
	officially exported API. -CG/DB

Sun Jun 02 01:52:11 MSK 2019
	Support usage of SOCK_NOSIGPIPE on Solaris 11.4 and NetBSD 7+,
	finally avoid SIGPIPE on Solaris. -EG

Sat Jun 01 22:51:50 MSK 2019
	Do not report errors if AF_UNIX socket is used on *BSD. -EG

Thu May 30 23:32:09 MSK 2019
	Improved detection of 'getsockname()' in configure.
	Avoided using 'getsockname()' in code if not detected. -EG

Sun May 26 23:32:49 MSK 2019
	Fixed some tests on W32. -EG

Sun May 26 23:05:42 MSK 2019
	Better detection of sockaddr member in configure, fixed build on *BSD,
	Fixed compiler warnings,
	Updated and fixed libcurl tests. -EG

Tue May 21 22:12:43 MSK 2019
	Fixed doxygen comments,
	Avoid dropping 'const' qualifier in macros,
	Fixed some compiler warnings,
	Properly support automatic port detections on some platforms,
	Added checks for too long TLS parameters strings. -EG

Tue May 21 17:52:48 MSK 2019
	Spelling fixes. -EG

Mon May 20 15:39:35 MSK 2019
	Compiler warning fixes. -EG/CG
	Fixed example for non-64bits platforms. -EG

Web May 15 23:51:49 MSK 2019
	Optimized and improved processing speed by using precalculated and
	already calculated lengths of strings. -EG

Web May 15 14:54:00 MSK 2019
	Fixed build from source on GNU Hurd. -EG

Mon May  6 11:58:00 MSK 2019
	Updated README and COPYING files. MHD remains LGPLv2.1-licensed. -EG

Fri May  3 20:08:00 MSK 2019
	Store connection's keys and values with sizes;
	Speedup keys search be comparing key length first;
	Added functions for working with keys and values with binary zeros;
	Fixed test_postprocessor_amp to fail on problems. -EG

Wed May  1 16:40:00 MSK 2019
	Reverted change of MHD_KeyValueIterator, implemented MHD_KeyValueIteratorN
	with sizes for connection's key and value to get keys and values
	with binary zeros. -EG

Mon 29 Apr 2019 01:26:39 AM BRT
	Fixed signed/unsigned comparison in example http_chunked_compression.c. -SC/TR

Sun Apr 21 16:40:00 MSK 2019
	Improved compatibility with MSVC compilers;
	Fixed MHD compilation by Clang/LLVM in VS;
	Used MSVC intrinsics for bit rotations and bytes swap;
	Added project files for VS2019. -EG

Fri Apr 19 23:00:00 MSK 2019
	Rewritten SHA-256 calculations from scratch to avoid changing LGPL version;
	Added usage of GCC/Clang built-ins for bytes swap to significantly improve
	speed of MD5 and SHA-256 calculation on platforms with known endianness.
	Added test for SHA-256 calculations. -EG

Wed Apr 17 20:52:00 MSK 2019
	Refactoring of mhd5.c: optimized, dead code removed;
	Faster MD5 calculation on little endian platforms;
	Bit manipulations moved to separate header file.
	Added tests for MD5 calculations. -EG

Mon 15 Apr 2019 05:33:52 PM CEST
	Add MHD_USE_POST_HANDSHAKE_AUTH_SUPPORT and
	MHD_USE_INSECURE_TLS_EARLY_DATA flags. -CG

Thu Apr 11 11:37:00 MSK 2019
	Fixed MSVC 'Release' builds;
	Fixed usage of MSVC's assert. -EG

Wed Apr 10 14:31:00 MSK 2019
	Improved shell compatibility for 'bootstrap', removed bash-ism.
	Added wrapper script 'autogen.sh'. -EG

Mon 08 Apr 2019 03:06:05 PM CEST
	Fix close() checks as suggested by MK on the mailinglist
        (#3926). -MK/CG

Wed 20 Mar 2019 10:20:24 AM CET
	Adding additional "value_length" argument to MHD_KeyValueIterator
	callback to support binary zeros in values.  This is done in a
	backwards-compatible way, but may require adding a cast to existing
	code to avoid a compiler warning. -CG

Sun Feb 10 21:00:37 BRT 2019
	Added example for how to compress a chunked HTTP response. -SC

Sun 10 Feb 2019 05:03:44 PM CET
	Releasing libmicrohttpd 0.9.63. -CG

Sat 09 Feb 2019 01:51:02 PM CET
	Extended test_get to test URI logging and query string parsing
	to avoid regression fixed in previous patch in the future. -CG

Thu Feb  7 16:16:12 CET 2019
	Preliminary patch for the raw query string issue, to be tested. -CG

Tue Jan  8 02:57:21 BRT 2019
	Added minimal example for how to compress HTTP response. -SC

Wed Dec 19 00:06:03 CET 2018
	Check for GNUTLS_E_AGAIN instead of GNUTLS_E_INTERRUPTED when
	giving up on a TLS connection. -LM/CG

Thu Dec 13 22:48:14 CET 2018
	Fix connection timeout logic if in thread-per-connection mode the
	working thread takes longer than the timeout to queue the response. -CG

Tue Dec 11 09:58:32 CET 2018
	Add logic to avoid VLA arrays with compilers that do not support them. -CG

Sat Dec  8 23:15:53 CET 2018
	Fixed missing WSA_FLAG_OVERLAPPED which can cause W32 to block on
	socket races when using threadpool. (See very detailed description
	of the issue in the libmicrohttpd mailinglist post of today.) -JM

Sat Dec  8 22:53:56 CET 2018
	Added test for RFC 7616 and documented new API.
	Releasing libmicrohttpd 0.9.62. -CG

Sat Dec  8 17:34:58 CET 2018
	Adding support for RFC 7616, experimental, needs
	testing and documentation still! -CG

Fri Dec  7 12:37:17 CET 2018
	Add option to build MHD without any threads
	and MHD_FEATURE_THREADS to test for it.  -CG

Thu Dec  6 13:25:08 BRT 2018
	Renamed all occurrences from _model(s)_ to _mode(s)_. -SC

Thu Dec  6 12:50:11 BRT 2018
	Optimized the function MHD_create_response_from_callback() for
	Windows by increasing its internal buffer size and allowed to customize
	it via macro MHD_FD_BLOCK_SIZE. -SC

Thu Dec  6 02:11:15 BRT 2018
	Referenced the gnutls_load_file() function in the HTTPs examples. -SC

Wed Dec  5 18:08:59 CET 2018
	Fix regression causing URLs to be unescaped twice. -CG

Sun Nov 18 13:08:11 CET 2018
	Parse arguments with (properly) escaped URLs correctly.
	(making things work with recent cURL changes, #5473).
	Replace sprintf with snprintf in testcases.
	Releasing libmicrohttpd 0.9.61. -CG

Wed Nov 14 14:01:21 CET 2018
	Fix build issue with GnuTLS < 3.0. -CG

Mon Nov 12 19:50:43 CET 2018
	Fix #5473 (test case failure due to change in libcurl). -eworm

Thu Nov  8 14:53:27 CET 2018
	Add MHD_create_response_from_buffer_with_free_callback. -CG

Tue Nov  6 19:43:47 CET 2018
	Upgrading to gettext 0.19.8.
	Releasing libmicrohttpd 0.9.60. -CG

Thu Nov  1 16:29:59 CET 2018
	Enable using epoll() without listen socket. -JB

Sat Oct 20 12:44:16 CEST 2018
	In thread-per-connection mode, signal main thread for
	thread termination for instant clean-up and application
	notification about closed connections. -CG

Tue Oct 16 20:43:41 CEST 2018
	Add MHD_RF_HTTP_VERSION_1_0_RESPONSE option to make MHD
	act more like an HTTP/1.0 server. -GH

Fri Oct  5 18:44:45 CEST 2018
	MHD_add_response_header() now prevents applications from
	setting a "Transfer-Encoding" header to values other than
	"identity" or "chunked" as other transfer encodings are
	not supported by MHD. (Note that usually MHD will pick the
	transfer encoding correctly automatically, but applications
	can use the header to force a particular behavior.)
	Fixing #5411 (never set Content-length if Transfer-Encoding
	is given). -CG

Sat Jul 14 11:42:15 CEST 2018
	Add MHD_OPTION_GNUTLS_PSK_CRED_HANDLER to allow use of PSK with
	TLS connections. -CG/TM

Sat Jul 14 11:03:37 CEST 2018
	Integrate patch for checking digest authentication based on
	a digest, allowing servers to store passwords only hashed.
	Adding new function MHD_digest_auth_check_digest(). -CG/DB

Sat Mar 10 12:15:35 CET 2018
	Upgrade to gettext-0.19.8.1. Switching to more canonical
	gettext integration. -CG

Fri Mar  2 21:44:24 CET 2018
	Ensure MHD_RequestCompletedCallback is always called from
	the correct thread (even on shutdown and for upgraded connections). -CG

Tue Feb 27 23:27:02 CET 2018
	Ensure MHD_RequestCompletedCallback is also called for
	upgraded connections. -CG

Fri Feb 16 03:09:33 CET 2018
	Fixing #5278 as suggested by reporter. -CG/texec

Thu Feb  1 10:12:22 CET 2018
	Releasing GNU libicrohttpd 0.9.59. -CG

Thu Feb  1 08:39:50 CET 2018
	Fix masking operation. -CG/silvioprog

Mon Jan 29 17:33:54 CET 2018
	Fix deadlock when failing to prepare chunked response
	(#5260). -CG/ghaderer

Thu Jan  4 12:24:33 CET 2018
	Fix __clang_major__ related warnings for non-clang
	compilers reported by Tim on the mailinglist. -CG

Mon Dec 11 17:11:00 MSK 2017
	Fixed tests on platforms with huge number of CPUs.
	Doxygen configuration was updated.
	Various doxygen fixes. -EG

Mon Dec 07 21:08:00 MSK 2017
	Releasing GNU libmicrohttpd 0.9.58. -EG

Mon Dec 07 16:01:00 MSK 2017
	Fixed HTTPS tests on modern platforms. -EG

Mon Dec 04 15:43:00 MSK 2017
	Minor documentation installation fixes. -EG

Mon Nov 27 22:58:38 CET 2017
	Tolerate AF_UNIX when trying to determine our binding port
	from socket.  Use `sockaddr_storage` instead of trying to
	guess the sockaddr type before calling getsockname(). -CG
2019-07-13 16:19:27 +00:00
ryoon
57d0806c39 Recursive revbump from boost-1.70.0 2019-07-01 04:07:44 +00:00
adam
5b12b7b592 revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
adam
9d06c0a472 revbump after boost-libs update 2018-08-16 18:54:26 +00:00
adam
35aa3efc12 revbump for boost-libs update 2018-04-29 21:31:17 +00:00
wiz
e5209a786e Add p11-kit to gnutls/bl3.mk and bump dependencies. 2018-04-17 22:29:31 +00:00
adam
983847f667 Revbump after boost update 2018-01-01 21:18:06 +00:00
wiz
721d3964a8 libmicrohttpd: update to 0.9.57.
Mon Nov 27 22:24:00 MSK 2017
	Releasing GNU libmicrohttpd 0.9.57. -EG

Mon Nov 27 21:36:00 MSK 2017
	Updated README. -EG

Mon Nov 27 18:37:00 MSK 2017
	Corrected names in W32 DLL resources.
	Reordered and clarified configure summary message.
	Additional compiler warning mutes for builds with various configure
	parameters.
	Fixed tests on Cygwin.
	Used larger SETSIZE for Cygwin (same value as for native W32).
	Minor fixes for Cygwin.
	Added configure parameter to force disable usage of sendfile().
	Minor testsuite fixes.
	Really fixed builds with optimisation for size. -EG

Sat Nov 25 18:37:00 MSK 2017
	Fixed build with optimisation for size. -EG

Fri Nov 24 20:14:02 CET 2017
	Releasing GNU libmicrohttpd 0.9.56. -CG

Thu Nov 23 17:40:00 MSK 2017
	Added MHD_FEATURE_SENDFILE enum value and report. -EG

Thu Nov 23 08:56:00 MSK 2017
	Fixed receiving large requests in TLS mode with epoll.
	Improved GnuTLS and libgcrypt detection in configure, do not ignore
	flags in GNUTLS_{CFLAGS,LIBS} variables.
	Added special trick for Solaris/Openindiana to find GnuTLS-3 with
	right bitness.
	Added support for Solaris sendfile(3) function.
	Fixed dataraces with thread ID on W32 and pthread. Now check for
	correct thread in MHD_queue_response() works correctly.
	Fixed and silenced compiler warnings in tests and examples.
	Removed usage of TLS flags in examples where TLS is not required.
	Added support for MultiSSL in https tests with libcurl >= 7.56.0.
	Improved detection of OFF_T_MAX, SIZE_MAX. Added macros for
	SSIZE_MAX in mhd_limits.h. There are some platforms that really
	require those macros.
	Added support for Darwin's sendfile() function.
	Updated .gitignore files.
	Reworked mhd_sys_extentions.m4 with better support of modern
	platforms, more reliable detection of required macros, and
	detection of disabling of system-specific features by
	_XOPEN_SOURCE macro. -EG

Wed Nov  1 20:43:00 MSK 2017
	Mixed and muted many compiler warnings. Now GCC's flags
	-Wall -Wextra could be used for building.
	Fixed compilation of examples without libmagic.
	Better detection of libgnutls in configure.
	Reworked launch of nested configure in "po" directory to
	prevent useless reconfiguration.
	Fixed some wrong asserts.
	Enabled "test_options" test.
	Use "test_start_stop" without libcurl.
	Use chunks with sendfile() to prevent locking thread for
	single connection with large file.
	Added support for FreeBSD's sendfile with additional
	optimisations for FreeBSD 11.
	Refactoring and improvements for MHD_start_daemon_va() and
	MHD_stop_daemon().
	Fixed testing with GnuTLS >= 3.6.0. -EG

Mon Oct  9 22:38:07 CEST 2017
	Add MHD_free() to allow proper free()-ing of username/password
	data returned via MHD_digest_auth_get_username() or
	MHD_basic_auth_get_username_password() on Windows. -CG

Tue Sep 26 14:00:58 CEST 2017
	Fixing race involving setting "at_limit" flag. -CG

Tue Sep 08 21:39:00 MSK 2017
	Fixed build of examples when MHD build with non-pthread lib.
	MHD_queue_response(): added check for using in correct thread.
	Fixed sending responses larger 16 KiB in TLS mode with epoll.
	Improved doxy for MHD_get_timeout() and related functions.
	Minor internal refactoring. -EG

Tue Jul 23 11:32:00 MSK 2017
	Updated chunked_example.c to provide real illustration of usage of
	chunked encoding. -EG

Thu Jul 13 21:41:00 MSK 2017
	Restored SIGPIPE suppression in TLS mode.
	Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE so application could
	check whether SIGPIPE handling is required.
	Used GNUTLS_NONBLOCK for TLS sessions. -EG

Tue Jun 20 23:52:00 MSK 2017
	Libgcrypt is now optional and required only for old GnuTLS versions. -EG

Wed Jun 14 21:42:00 MSK 2017
	Added support for debug assert() and new configure parameter
	--enable-asserts for debug builds.
	Removed non-functional Symbian support. -EG

Mon Jun 05 23:34:00 MSK 2017
	More internal refactoring:
	merged MHD_tls_connection_handle_read/write() with non-TLS version,
	reduced and unified number of layers for network processing (before
	refactoring MHD_tls_connection_handle_read->MHD_connection_handle_read->
	do_read->recv_tls_adapter->GnuTLS->recv_param_adapter - 5 MHD layers;
	after refactoring MHD_connection_handle_read->recv_tls_adapter->GnuTLS -
	2 MHD layers),
	simplified and removed dead code from
	MHD_connection_handle_read/write() without functional change. -EG

Mon Jun 05 22:20:00 MSK 2017
	Internal refactoring:
	used TCP sockets directly with GnuTLS (performance improvement),
	moved some connection-related code from daemon.c to
	connection.c/connection_https.c,
	removed hacks around sendfile() and implemented correct support of
	sendfile(),
	removed do_read() and do_write() to reduce number of layer around send()
	and recv() and to improve readability and maintainability of code,
	implemented separate tracking of TLS layer state, independent of HTTP
	connection stage. -EG

Sun Jun 04 15:02:00 MSK 2017
	Improved thread-safety of MHD_add_connection() and
	internal_add_connection(), minor optimisations. -EG
2017-11-29 14:05:44 +00:00
adam
931d707fe2 Revbump for boost update 2017-08-24 20:03:08 +00:00
wiz
384a8a74f8 Updated libmicrohttpd to 0.9.55.
Add test targets, all tests pass for me.

Sun May 28 23:26:00 MSK 2017
	Releasing GNU libmicrohttpd 0.9.55. -EG

Sun May 21 18:48:00 MSK 2017
	Fixed build with disabled "UPGRADE".
	Fixed possible null-dereference in HTTPS test.
	Fixed compiler warning in process_request_body(), minor optimizations.
	Do not allow suspend of "upgraded" connections.
	Fixed returned value for MHD_CONNECTION_INFO_CONNECTION_SUSPENDED.
	Fixed removal from timeout lists of non-existing connections in
	cleanup_connection().
	Fixed double locking of mutex. -EG

Sun May 14 15:05:00 MSK 2017
	Fixed resuming connections and closing upgraded connections in select()
	mode with thread-per-connection. -EG

Sun May 14 14:49:00 MSK 2017
	Removed extra call to resume connections in MHD_run().
	Handle resumed connection without delay in epoll mode.
	Update states of resumed connection after resume in thread-per-connection
	mode.
	Fixed resuming connections and closing upgraded connections in poll()
	mode with thread-per-connection. -EG

Thu May 11 22:37:00 MSK 2017
	Faster start really processing data in resumed connections. -EG

Thu May 11 14:24:00 MSK 2017
	Do not add any "Connection" headers for "upgrade" connections. -EG

Wed May 10 23:09:00 MSK 2017
	Resume resuming connection before other processing in external polling
	mode. -EG

Tue May  9 23:16:00 MSK 2017
	Fixed: Do not add "Connection: Keep-Alive" header for "upgrade"
	connections. -EG

Tue May  9 21:01:00 MSK 2017
	Fixed: check all "Connection" headers of request for "Close" and "Upgrade"
	tokens instead of using only first "Connection" header with full string
	match. -EG

Tue May  9 12:28:00 MSK 2017
	Revert: continue match footers in MHD_get_response_header() for backward
	compatibility. -EG

Mon May  8 19:30:00 MSK 2017
	Fixed: use case-insensitive matching for header name in
	MHD_get_response_header(), match only headers (not footers). -EG

Fri May  5 20:57:00 MSK 2017
	Fixed null dereference when connection has "Upgrade" request and
	connection is not upgraded.  -JB/EG
	Better handle Keep-Alive/Close. -EG
2017-06-14 20:23:15 +00:00
wiz
e89e2f74f4 Updated libmicrohttpd to 0.9.54.
Tue May  2 18:37:53 CEST 2017
	Update manual. -CG
	Add MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE.
	Releasing GNU libmicrohttpd 0.9.54. -CG

Thu Apr 27 22:31:00 CEST 2017
	Replaced flags MHD_USE_PEDANTIC_CHECKS and MHD_USE_PERMISSIVE_CHECKS by
	single option MHD_OPTION_STRICT_FOR_CLIENT. Flag MHD_USE_PEDANTIC_CHECKS
	is still supported. -EG

Tue Apr 26 15:11:00 CEST 2017
	Fixed shift in HTTP reasons strings.
	Added test for HTTP reasons strings. -EG

Tue Apr 25 19:11:00 CEST 2017
	Allow flag MHD_USE_POLL with MHD_USE_THREAD_PER_CONNECTION and without
	flag MHD_USE_INTERNAL_POLLING_THREAD for backward compatibility. -EG

Mon Apr 24 17:29:45 CEST 2017
	Enforce RFC 7230's rule on no whitespace by default,
	introduce new MHD_USE_PERMISSIVE_CHECKS to disable. -CG

Sun Apr 23 20:05:44 CEST 2017
	Enforce RFC 7230's rule on no whitespace in HTTP header
	field names if MHD_USE_PEDANTIC_CHECKS is set. -CG

Sun Apr 23 19:20:33 CEST 2017
	Replace remaining occurences of sprintf() with
	MHD_snprintf_(). Thanks to Ram for pointing this out. -CG

Sat Apr 22 20:39:00 MSK 2017
	Fixed builds in Linux without epoll.
	Check for invalid --with-thread= configure parameters.
	Fixed support for old libgcrypt on W32 with W32 threads. -EG
2017-05-17 12:39:22 +00:00
ryoon
76884737ca Recursive revbump from boost update 2017-04-30 01:21:19 +00:00
wiz
358743e644 Updated libmicrohttpd to 0.9.53.
Tue Apr 11 22:17:00 MSK 2017
	Releasing GNU libmicrohttpd 0.9.53. -EG

Mon Apr 10 19:50:20 MSK 2017
	HTTPS tests: skip tests instead of failing if HTTPS is not supported by
	libcurl.
	HTTPS tests: fixed return values so testsuite is able to correctly
	interpret it.
	Fixed ignored result of epoll test in test_https_get_select. -EG

Thu Apr 06 23:02:07 MSK 2017
	Make zzuf tests compatible with *BSD platforms. -EG

Thu Apr 06 22:14:22 MSK 2017
	Added warning for hypothetical extra large timeout.
	Fixed incorrect timeout calculation under extra rare conditions.
	Fixed accidental usage of IPv6 in testsuite in specific conditions. -EG

Wed Apr 05 14:14:22 MSK 2017
	Updated autoinit_funcs.h to latest upstream version with proper support of
	Oracle/Sun compiler. -EG

Wed Apr 05 12:53:26 MSK 2017
	Fixed some compiler warnings.
	Fixed error snprintf() errors detection in digestauth.c.
	Converted many run-time 'strlen()' to compile-time calculations. -EG

Sun Mar 26 13:49:01 MSK 2017
	Internal refactoring for simplification and unification.
	Minor optimizations and minor fixes.
	MHD_USE_ITC used again in thread pool mode. -EG

Sat Mar 25 20:58:24 CET 2017
	Remove dead MHD_strx_to_sizet-functions and associated
	test cases from code. -CG

Sat Mar 25 20:40:10 CET 2017
	Allow chunk size > 16 MB (up to 2^64-1). Ignore
	chunk extensions instead of triggering an error.
	(fixes #4967). -CG

Tue Mar 25 20:59:18 MSK 2017
	Check for invalid combinations of flags and options in
	MHD_start_daemon(). -EG

Tue Mar 21 13:51:04 CET 2017
	Use "-lrt" to link libmicrohttpd if we are using
	clock_gettime() as needed by glibc < 2.17. -CG

Tue Mar 21 13:42:07 CET 2017
	Allow chaining of suspend-resume calls withuot
	the application processing data from the network. -CG

Mon Mar 20 0:51:24 MSK 2017
	Added autoconf module for detection whatever shutdown of listening socket
	trigger select. This is only reliable method to use such feature as some
	platforms change behaviour from version to version. -EG

Sun Mar 19 13:57:30 MSK 2017
	Rewritten logic of handling "upgraded" TLS connections in epoll mode:
	used edge trigger instead of level trigger,
	upgraded "ready" connection are stored in DL-list,
	fixed handling of more than 128 ready connections,
	fixed busy-waiting for idle "upgraded" TLS connections. -EG

Fri Mar 17 10:45:31 MSK 2017
	If read buffer is full, MHD need to receive remote data and application
	suspended connection, do not fail while connection is suspended and give
	application one more chance to read data from buffer once connection is
	resumed. -EG

Thu Mar 16 23:45:29 MSK 2017
	Allow again to run MHD in external epoll mode by
	MHD_run_from_select() - this allow unification of user code
	and produce no harm for performance. Especially useful with
	MHD_USE_AUTO flag. -EG

Thu Mar 16 23:12:07 MSK 2017
	Idle connection should be disconnected *after* "timeout" number of
	second, not *before* this number. -EG/VT

Thu Mar 16 22:31:54 MSK 2017
	Unified update of last activity on connections.
	Update last activity only if something is really transmitted.
	Update last activity each time when something is transmitted.
	Removed early duplicated check for timeout on HTTPS connections.
	Removed update of last active time for connections without timeout.
	Fixed reset of timeout timer on resumed connections.
	Fixed never-expired timeouts on HTTPS connections.
	Fixed thread-safety of MHD_set_connection_option(). -EG

Thu Mar 16 21:05:08 MSK 2017
	Fixed minor bug resulted in slight slowdown of HTTPS connection
	handshake. -EG

Thu Mar 16 20:35:59 MSK 2017
	Improved thread-safety for DL-lists. -EG

Thu Mar 16 17:55:01 MSK 2017
	Fixed thread-safety of MHD_get_daemon_info() for
	MHD_DAEMON_INFO_CURRENT_CONNECTIONS. -EG

Thu Mar 16 16:49:07 MSK 2017
	Added ability to get actual daemon flags via MHD_get_daemon_info().
	Fixed test_upgrade to work in request mode.
	Fixed compiler warnings in test_upgrade. -EG

Wed Mar 15 23:29:59 MSK 2017
	Prevented socket read/write if connection is suspended.
	Added missing resets of 'connection->in_idle'.
	Reworked handling of suspended connection: ensure that
	connection is not disconnected by timeout, always
	updated read/write states right after suspending. -EG

Wed Mar 15 21:02:26 MSK 2017
	Added new enum value MHD_CONNECTION_INFO_CONNECTION_TIMEOUT
	to get connection timeout by MHD_get_connection_info(). -EG

Sat Mar 11 12:03:45 CET 2017
	Fix largepost example from tutorial to properly generate
	error pages. -CG
	Fix largepost example, must only queue replies either before upload
	happens or after upload is done, not while upload is ongoing

Fri Mar 10 16:37:12 CET 2017
	Fix hypothetical integer overflow for very, very large
	timeout values. -CG

Fri Mar 10 16:22:54 CET 2017
	Handle case that we do not listen at all more gracefully
	in MHD_start_daemon() and not pass '-1' to helper functions
	that expect a valid socket. -CG

Tue Mar  7 12:11:44 BRT 2017
	Updates file `.gitignore`.

Tue Mar  7 10:37:45 BRT 2017
	Updated the MHD_OPTION_URI_LOG_CALLBACK's documentation.

Mon Mar  6 21:46:59 BRT 2017
	Added the i18n example fixing #4924. -SC

Wed Mar 1 23:47:05 CET 2017
	Minor internal optimisations.
	Changed closure connection monitoring logic: now all connections are
	monitored for OOB data (which treated as error), connections are not
	monitored any more for incoming data if incoming data is not required for
	processing. except_fd_set is not optional now for MHD_get_fdset(),
	MHD_get_fdset2() and MHD_run_from_select().
	Improved connection processing in epoll mode: now connection can process
	both read and write each turn.
	Updated HTTP response codes; updated and added all missing standard HTTP
	headers names (and headers categories); updated and added all missing
	standard and additional HTTP methods. Now MHD return status
	MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE (431) instead of old
	MHD_HTTP_REQUEST_ENTITY_TOO_LARGE (413) for very long header.
	Reworked handling of data pending in TLS buffers, resolved busy-waiting
	if incoming data is pending in TLS buffers and connection is in
	LOOP_INFO_WRITE mode.
	Do not clear 'ready' flag in epoll mode if send()/recv() result is
	EINTERRUPTED.
	Better detection of unready connection state: used less number of calls of
	recv()/send() in epoll mode.
	Configure: do not run gcrypt and GnuTLS tests if HTTPS is disabled by
	configure parameter.
	Fixed wrong value returned by MHD_get_timeout().
	All double-linked lists now walked from tail to head. As new items are
	added to head, this result in more uniform processing time.
	Improved sockets errors handling in epoll mode.
	OOB data on 'upgraded' sockets is treated as error. -EG

Thu Feb 16 11:20:05 CET 2017
	Replace tsearch configure check with code from gnulib. -CG

Wed Feb 15 13:35:36 CET 2017
	Fixing a few very rare race conditions for thread-pool or
	thread-per-connection operations during shutdown.
	Various minor cosmetic improvements.
	Fixed #4884 and #4888 (solaris portability issues). -CG

Wed Feb 08 22:33:10 MSK 2016
	Ported test_quiesce_stream to W32.
	Improved precompiler flags selection of OpenBSD.
	Fixed sending responses backed by files not supported by sendfile().
	Fixed thread safety for responses backed by file FD.
	Updated fileserver_example.
	Improved handling of 'upgraded' TLS forwarding in select() and poll()
	modes.
	Fixed processing of incoming TLS data in epoll mode if more than 128
	connections are active.
	Fixed accepting more than 128 incoming connection in epoll mode.
	Improved test_large_put, added poll() and epoll testing.
	Added test_large_put_inc for testing of incremental buffer processing.
	Rewritten epoll connection processing logic: handle all connection one
	time per turn instead of trying to handle all active connection until all
	pending data is dried. Result is more uniform connection processing
	period. -EG

Wed Nov 23 15:24:10 MSK 2016
	Used SO_REUSEADDR (on non-W32) alongside with SO_REUSEPORT if option
	MHD_OPTION_LISTENING_ADDRESS_REUSE was set. -EG

Wed Nov 23 12:48:23 MSK 2016
	Move all gettext-related staff to 'po' subdirectory.
	Excluded gettext files generation from normal build.
	Removed generated files from GIT. -EG

Tue Nov 15 19:08:43 MSK 2016
	Fixed forwarding "upgraded" TLS connections for
	chunks sizes larger than buffer size. -EG

Mon Nov 14 22:18:30 MSK 2016
	Fixed unintentional usage of SO_REUSEADDR on W32.
	Added support for SO_EXCLBIND on Solaris.
	Fixed using MHD with MHD_OPTION_LISTENING_ADDRESS_REUSE
	on Linux kernels before 3.9 (longterm 3.2 and 3.4
	are still supported). -EG

Sun Nov 13 19:16:38 CET 2016
	Fixed a few race issues on suspend-resume in cases where the
	application uses threads even though MHD did not (or at least
	had no internal need for locking). Also fixed DLL handling of
	the timeout list, avoiding manipulating it for suspended
	connections.  Finally, eliminated calling application logic
	on suspended connections (which before could happen under
	certain circumstances). -CG

Thu Nov 11 20:49:23 MSK 2016
	Added support for various forms of
	pthread_attr_setname_np() so thread names will be set
	more efficiently on certain platforms (Solaris, NetBSD etc.) -EG

Thu Nov 10 21:50:35 MSK 2016
	Added rejection in MHD_start_daemon() of invalid combinations
	of daemon flags.
	Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD for
	automatic selection of polling function depending on
	platform capabilities and requested mode. -EG

Thu Nov 10 17:49:56 MSK 2016
	Ported "upgrade" tests to W32 and other platforms, used
	"gnutls-cli" instead of "openssl" in tests, minor bugs
	fixed, added verbose reporting if requested.
	"Upgrade" processing - changed internal handling logic, improved
	and refactored, bugs fixed, fixed sigpipe on Darwin, added
	printing error to log, fixed compilation without HTTPS.
	Added 'configure' parameter "--disable-httpupgrade" for building
	minimal-sized MHD versions.
	Added feature check "MHD_FEATURE_UPGRADE".
	Responses destroyed (freed) earlier if possible.
	Added many remarks in code comments about thread safety.
	Some data races and other multithread-related issues are fixed,
	including usage of closed sockets (may resulted in accidental closing
	of wrong socket).
	SO_NOSIGPIPE is used on all platform which support it, not only
	on Darwin.
	Added support for suspending connections in thread-per-connection
	mode (itself almost useless, mostly to unify modes support).
	Fixed Inter-Thread Communication channel usage in epoll modes.
	Reworked daemon cleanups and handling MHD_stop_daemon(): resources
	are freed only by specific threads, data races and other fixes.
	Started usage of C99 standard 'bool' where supported with
	fallback to 'int'.
	Renamed many MHD flags. Now they are self-explainable and more
	obvious, like MHD_USE_INTERNAL_POLLING_THREAD instead of
	MHD_USE_SELECT_INTERNALLY. Old flag names are supported for
	backward compatibility.
	Improved processing of "fast" connections: now full sequence
	"read request - send reply headers - send reply body" is processed
	after single select()/poll(). If connection is slow, request is huge
	or response in not immediately ready - connection will be processed
	in "traditional" way.
	Added usage of "calloc()" where supported.
	Minor documentation fixes.
	Minor improvements and fixes. -EG
	"Upgrade" test fixes.
	Documentation updated.
	Added HTTP "Upgrade" example. -CG
2017-04-19 12:25:18 +00:00
adam
76632718ac Revbump after boost update 2017-01-01 16:05:55 +00:00
wiz
41838772ea Add upstream patch to fix build on macOS and Solaris. 2016-12-21 10:31:42 +00:00
wiz
4c44f92642 Updated libmicrohttpd to 0.9.52.
Mon Oct 17 19:08:18 CEST 2016
	Fixed misc. issues relating to upgrade.
	Releasing experimental 0.9.52. -CG

Wed Oct 12 14:26:20 CEST 2016
	Migrated repository from Subversion to Git. -CG

Tue Oct 11 18:09:56 CEST 2016
	Deprecated MHD_USE_SSL, use MHD_USE_TLS instead. -CG

Tue Oct 11 18:14:40 MSK 2016
	Code internal refactoring: 'pipes' renamed to 'inter-thread
	communication (channels)/ITCs', as code can use different types
	of communications.
	Optimizations: ITCs now always created in non-blocking mode.
	Added configure parameter to choose ITC type.
	Updated documentation and comments.
	Minor errors fixed (related to heavy load). -EG

Thu Sep 22 17:51:04 CEST 2016
	Implementing support for eventfd() instead of pipe() for
	signaling (on platforms that support it); fixing #3557. -CG

Thu Sep 22 11:03:43 CEST 2016
	Simplify internal error handling logic by folding it into the
	MHD_socket_close_, MHD_mutex_lock_, MHD_mutex_unlock_ and
	MHD_mutex_destroy_ functions. -CG

Tue Sep 13 22:20:26 MSK 2016
	Added autoconf macro to enable maximum platform
	features. Fixed compiling on Solaris. -EG

Wed Sep  7 12:57:57 CEST 2016
	Fixing #4641. -Hawk

Wed Sep  7 00:28:59 CEST 2016
	Adding remaining "_"-markups for i18n (#4614). -CG

Tue Sep  6 23:39:56 CEST 2016
	Allow out-of-order nonces for digest authentication (#4636). -CG

Tue Sep  6 21:29:09 CEST 2016
	Martin was right, "socket_context" should be "void *"
	in `union MHD_ConnectionInfo`.  -MS

Sun Sep  4 18:16:32 CEST 2016
	Fixing potential memory leak (#4634). -CG

Sun Sep  4 17:25:45 CEST 2016
	Tests for "Upgrade" logic are now in place and passing.
	However, still need to make sure code is portable. -CG

Sat Sep  3 11:56:20 CEST 2016
	Adding logic for handling HTTP "Upgrade" in thread-per-connection
	mode. Also still untested. -CG

Sat Aug 27 21:01:43 CEST 2016
	Adding a few extra safety checks around HTTP "Upgrade"
	(against wrong uses of API), and a testcase. -CG

Sat Aug 27 20:07:53 CEST 2016
	Adding completely *untested* logic for HTTP "Upgrade"
	handling. -CG

Sat Aug 27 18:20:38 CEST 2016
	Releasing libmicrohttpd 0.9.51. -CG

Tue Aug 23 22:54:07 MSK 2016
	Internal refactoring: W32 compatibility layer was finally
	replaced with several specialized abstraction layers for
	sockets, control pipes (inter-thread communication) and
	generic functions. Now all major platform functions
	(including threads and mutex) are implemented in thin
	abstraction layers.
	Improved performance on W32 due to eliminating
	translation of error to POSIX codes and using W32 codes
	directly (through macros).
	Improved error reporting on all platforms.
	Improved error handling and reporting on Darwin.
	Minor fixes. -EG

Tue Aug 16 15:14:30 MSK 2016
	Minor improvement for monotonic clock.
	Minor configure fix for non-bash shells. -EG

Mon Aug 15 13:06:52 CEST 2016
	Fixed possible crash due to write to read-only region of
	memory given ill-formed HTTP request (write was otherwise
	harmless, writing 0 to where there was already a 0).
	Fixed issue with closed connection slots not immediately
	being available again for new connections if we reached
	our connection limit.
	Avoid even accept()ing connections in certain thread modes
	if we are at the connection limit and
	MHD_USE_PIPE_FOR_SHUTDOWN is available. -CG

Wed Aug 10 16:42:57 MSK 2016
	Moved threads, locks and mutex abstraction to separate files,
	some minor errors fixed, added support for thread name functions
	on various platforms, added configure flag for disable thread
	naming. -EG

Sat Jul 23 20:45:51 CEST 2016
	Added macro detection of speed/size compiler optimization.
	Added different implementation of functions in mhd_str.c for
	size optimization. Enabled automatically if compiler size
	optimization is detected or MHD_FAVOR_SMALL_CODE is defined.
	Added unit tests for all mhd_str.c functions. -EG

Sat Jul 16 21:54:49 CEST 2016
	Warn user if they sent connection into blocking
	state by not processing all POST data, not suspending,
	and not running in external select mode. -CG

Fri Jul  8 21:35:07 CEST 2016
	Fix FIXME in tutorial. -CG

Fri Jul  8 15:57:06 CEST 2016
	Adding support for 308 status code. -CG

Sat Jun 25 13:49:31 CEST 2016
	Use shutdown to trigger select on NetBSD. -EG

Thu Jun  2 09:55:50 CEST 2016
	Releasing libmicrohttpd 0.9.50. -CG

Wed Jun  1 21:59:34 CEST 2016
	Do not send "Content-Length" header for 1xx/204/304 status codes. -CG

Tue May 17 13:32:21 CEST 2016
	Allow clients to determine whether a connection is suspended;
	introduces MHD_CONNECTION_INFO_CONNECTION_SUSPENDED. -CG/FC

Sun May 15 12:17:25 CEST 2016
	Fix handling system or process resource limit exhaustion upon
	accept(). -CG/CP

Thu May 12 08:42:19 CEST 2016
	Fix handling of partial writes in MHD_USE_EPOLL_LINUX_ONLY; only
	consider sockets returning EAGAIN as unready. -CG/CP

Mon May  2 06:08:26 CEST 2016
	Adding logic to help address FE performance issue as
	discussed on the mailinglist with subject
        "single-threaded daemon, multiple pending requests, responses batched".
	The new logic is only enabled when MHD_USE_EPOLL_TURBO is set.
	Note that some additional refactoring was also done to clean up
	the code and avoid code duplication, which may have actually fixed
	an unrelated issue with HTTPS and a POLL-style event loop. -CG

Sat Apr 30 10:22:37 CEST 2016
	Added clarifications to manual based on questions on list. -CG

Sat Apr 23 20:12:01 CET 2016
	Tests perf_get_concurrent and test_concurrent_stop ported to use
	pthread instead of fork(). Added more error detections. -EG

Sat Apr 23 16:06:30 CET 2016
	Improved test_quiesce test. -EG

Sat Apr 23 15:39:38 CET 2016
	Notify other threads in MHD_quiesce_daemon() so listen socket FD
	is removed from awaiting select() and poll(). -EG

Sat Apr 23 14:17:15 CET 2016
	Revert "shutdown trigger select" on Darwin. Fixed daemon shutdown
	on Darwin without "MHD_USE_PIPE_FOR_SHUTDOWN" option. -EG

Fri Apr 22 14:29:28 CET 2016
	Fixed race conditions when stopping quiesced daemon with thread
	pool. -EG

Wed Apr 20 18:12:30 CET 2016
	Fixed macros in sysfdsetsize.c which could prevent compiling with
	non-default FD_SETSIZE.
	Fixed comments in mhd_str.c.
	Updated test_post.c to not ignore specific error on W32 if libcurl
	is built with workaround for WinSock bug. -EG

Mon Apr 18 19:35:14 CET 2016
	Fixed data races leading to inability in rare situations to
	resume suspended connection. -EG

Tue Apr 13 21:46:01 CET 2016
	Removed unneeded locking for global timeout list in
	MHD_USE_THREAD_PER_CONNECTION mode.
	Added 'simplepost' and 'largepost' examples to VS projects.
	Added strtoXX() locale-independent replacement functions.
	Added more error checking and minor fixes in digest auth
	functions - should improve security.
	Ignored specific errors in 'test_post' test until libcurl
	will implement workaround for WinSock bug.
	Fixed handling of caller-supplied socket with
	MHD_OPTION_LISTEN_SOCKET (regression in 0.9.49).
	Minor fixes.
	Various cosmetics and comments fixes. -EG

Sat Apr 09 13:05:42 CET 2016
	Releasing libmicrohttpd 0.9.49. -EG

Fri Apr 08 18:32:17 CET 2016
	Some minor internal fixes, addition error checking and
	micro optimizations.
	Reworked usage of sockets shutdown() - now work equally
	on all platforms, disconnection should be "more graceful". -EG

Tue Mar 15 21:52:27 CET 2016
	Do not crash if pthread_create() fails. -DD

Tue Mar 15 20:29:34 CET 2016
	Do not use eready DLL data structure unless
	we are actually using epoll(). -DD/CG

Fri Feb  5 20:43:11 CET 2016
	Fixed testsuite compile warning on W32.
	Added check test for triggering poll() on
	listen socket. -EG

Thu Feb  4 11:38:11 CET 2016
	Added some buffer overrun protection.
	Fixed handling of misformed URI with spaces. -EG

Wed Feb  3 15:41:57 CET 2016
	Make signal-pipe non-blocking and drain it. -CG

Sat Jan 30 15:49:07 CET 2016
	Fix running select() with empty fdsets on W32. -EG

Mon Jan 25 13:45:50 CET 2016
	Added check test for triggering select() on
	listen socket. -EG

Thu Jan 21 19:35:18 CET 2016
	Fixed old bug with making sockets non-blocking on
	various platforms so now sockets are really
	non-blocking on all supported platforms.
	Reworked and fixed code for using SOCK_CLOEXEC,
	SOCK_NONBLOCK and EPOLL_CLOEXEC resulting in
	fewer used system calls. -EG

Tue Jan 19 20:59:59 CET 2016
	Cleaned up and optimized with minor fixes code for
	making sockets non-blocking non-inheritable. -EG

Tue Jan 19 11:14:18 CET 2016
	Removed workaround for Cygwin non-blocking sockets:
	handling non-blocking sockets were fixed in Cygwin
	and libmicrohttpd how uses non-blocking sockets on
	all platforms. -EG

Mon Jan 18 23:54:45 CET 2016
	Cleaned up examples to avoid giving oversimplified code
	that may lead to complications if adopted naively. -CG

Sun Jan 17 11:18:55 CET 2016
	Do no refuse to send response if sendfile() failed with
	EINVAL (common error for files located on SMB/CIF). -EG

Sat Jan 16 19:14:39 CET 2016
	Use US-ASCII only (instead of user locale settings) when
	performing caseless string comparison as required by
	standard. -EG

Tue Jan 12 16:10:09 CET 2016
	Fixed declaraion of MHD_get_reason_phrase_for(). -EG

Mon Jan 11 19:58:50 CET 2016
	Configure.ac small fixes and refactoring. -EG
2016-10-19 19:54:10 +00:00
adam
3b88bd43a5 Revbump post boost update 2016-10-07 18:25:29 +00:00