- Update to 0.9.70:
* Fixed 100-continue handling for PATCH method
* Fixed FTBFS from wrong #endif position for certain builds
* Fixed connection overflow issue when combining
MHD_USE_NO_LISTEN_SOCKET with MHD_USE_THREAD_PER_CONNECTION
* Updated m4 script to fix FTBFS when using
-Werror=unused-but-set-parameter
* Adding fix for urlencoding of keys without values in
post-processor logic.
* Adding patch from Ethan Tuttle with test case for urlencoding
in post-processor for keys without values.
OBS-URL: https://build.opensuse.org/request/show/772474
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=102
- Update to versin 0.9.65:
* Many fixes and improvements for connection-specific memory pool
* 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.
OBS-URL: https://build.opensuse.org/request/show/713705
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=91
- Update to version 0.9.64:
* Updated HTTP headers, methods and status codes from registries,
* Added scripts to import new headers, methods and status codes
from registries.
* Reodered includes in microhttpd.h
* Fixed compiler warnings
* Updated and fixed libcurl tests.
* Added checks for too long TLS parameters strings.
* Spelling fixes.
* Fixed example for non-64bits platforms.
* Optimized and improved processing speed by using precalculated and
already calculated lengths of strings.
* 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.
* Reverted change of MHD_KeyValueIterator, implemented
MHD_KeyValueIteratorN with sizes for connection's key and value to
get keys and values with binary zeros.
* Fixed signed/unsigned comparison in example
http_chunked_compression.c.
* Bit manipulations moved to separate header file.
* Improved shell compatibility for 'bootstrap', removed bash-ism.
* 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.
* Added example for how to compress a chunked HTTP response.
OBS-URL: https://build.opensuse.org/request/show/708972
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=89
- Update to version 0.9.63:
* Extended test_get to test URI logging and query string parsing
to avoid regression fixed in previous patch in the future.
* Preliminary patch for the raw query string issue, to be tested.
* Added minimal example for how to compress HTTP response.
* Check for GNUTLS_E_AGAIN instead of GNUTLS_E_INTERRUPTED when
giving up on a TLS connection. -LM/CG
* Fix connection timeout logic if in thread-per-connection mode the
working thread takes longer than the timeout to queue the response.
* Add logic to avoid VLA arrays with compilers that do not support them.
* 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.)
* Added test for RFC 7616 and documented new API.
- Update to version 0.9.62:
* Added test for RFC 7616 and documented new API.
* Adding support for RFC 7616, experimental, needs
testing and documentation still!
* Add option to build MHD without any threads
and MHD_FEATURE_THREADS to test for it.
* Renamed all occurrences from _model(s)_ to _mode(s)_.
* 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.
* Referenced the gnutls_load_file() function in the HTTPs examples.
* Fix regression causing URLs to be unescaped twice.
OBS-URL: https://build.opensuse.org/request/show/673177
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=87
- Update to version 0.9.59:
* Fix masking operation.
* Fix deadlock when failing to prepare chunked response
* Fix __clang_major__ related warnings for non-clang compilers.
* Fixed tests on platforms with huge number of CPUs.
* Doxygen configuration was updated.
* Various doxygen fixes.
- Update to version 0.9.58:
* Fixed HTTPS tests on modern platforms.
* Minor documentation installation fixes.
* 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().
OBS-URL: https://build.opensuse.org/request/show/580331
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=83
- updated to 0.9.40
- Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
mode if shutdown is initiated while connections are active. -CG
- Fix issue in thread-pool mode where a MHD_stop_daemon()
might not reach threads that stopped listening because
we hit the maximum number of concurrent connections and
the option MHD_USE_PIPE_FOR_SHUTDOWN was also not used.
Testcase added as well. -CG
- Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.
- Do not enforce FD_SETSIZE-limit on worker control
pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG
- Adding MHD_OPTION_NOTIFY_CONNECTION,
MHD_CONNECTION_NOTIFY_STARTED,
MHD_CONNECTION_NOTIFY_CLOSED and
MHD_CONNECTION_INFO_SOCKET_CONTEXT to allow
applications to trigger operations when TCP
connections start or end, instead of just
exposing HTTP requests starting and ending. -RG/CG
- Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
from working within a MHD_OPTION_ARRAY. -DD
- Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
Andrew Basile. -CG/AB
- Fix issue where for HTTP/1.0-clients that set
Connection: Keep-Alive header a response of
indefinite size was generated with chunked encoding. -CG
- Fix potential infinite loop on shutdown in multi-threaded mode
under certain conditions. -CG
- fixed info deinstall
OBS-URL: https://build.opensuse.org/request/show/295678
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=41
* Drop tls patch seems to build fine
* Remove code for other distros we build against 13.1+ anywhere
within obs and it just clutters the spec.
* Explicitely name switches in configure to make sure things go
the desired way.
* Fix install of libmicrohttpspdy pc file.
+ Added support for TCP FASTOPEN.
+ Removed dependency on plibc for simpler compilation for W32.
+ Added configure option "--disable-pipes" to use socketpairs
instead of pipes for signalling to child threads. Pipes are
always disabled on W32.
+ Corrected some uses of 'int' vs. 'size_t'.
+ MHD_USE_DUAL_STACK in libmicrohttpd currently just *inhibits
setting* the IPV6_V6ONLY socket option, but per Microsoft's
documentation the default on Windows is that this is enabled, thus
MHD_USE_DUAL_STACK will not work (since it leaves the
default). libmicrohttpd should probably just unconditionally set
IPV6_V6ONLY to the desired value when the option is available.
+ Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
and automatically set "Connection: Keep-Alive" in response
in this case as well.
+ Adding explicit annotations to hide symbols that are not for
export in the C code (gcc 4.0 or higher only).
+ Adding a few lines to avoid warnings from picky compilers.
- Added patches:
* libmicrohttpd-0.9.34-spdy-pc.patch
- Dropped patches:
* libmicrohttpd-drop-test_tls_options.patch
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=32
- refresh libmicrohttpd-drop-test_tls_options.patch
- add there also ignoring test_https_sni
- Update to 0.9.33
+ Fixed an issue with a missing argument in the postexample.
+ Fixed issue with bogus offset increment involving sendfile on
GNU/Linux. Adding support for SNI.
+ Fix for per-worker daemon pipes enabled with
MHD_USE_SUSPEND_RESUME that were not closed in MHD_stop_daemon.
+ Fixing warnings and build issue if --disable-https is given to
configure.
+
0.9.32:
+ Security fix: do not read past 0-terminator when unescaping
strings (thanks to Florian Weimer for reporting).
+ Signaling n times for shutdown works, but for resume we need to
wake up the correct daemon. Even if we signal n times in
that case also, there's no guarantee that some daemon can't
run through its select loop more than once before the
daemon we want to wake up gets a chance to read. Thus we
need a signal pipe per thread in the thread pool IF
MHD_suspend_connection is used. This introduces a new flag
MHD_USE_SUSPEND_RESUME to add those additional pipes and
only allow MHD_suspend_connection to be used in conjunction
with this flag.
Also, as MHD_resume_connection() will be called on a
non-daemon thread, but none of the queue insert/delete
calls are thread safe, we need to be concerned about (a)
corrupting the queue, and (b) having to add mutex
protection around every access to the queues, including
loops through timer queues, etc. This wasn't a problem
OBS-URL: https://build.opensuse.org/request/show/215320
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=28