- 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
- Update to 0.9.30
+ implements the "SHOULD" clause of RFC 2616 section 8.1.4, which
may reduce bandwidth consumption when clients cancel requests.
+ fixes build errors with various combinations of operating systems,
libc versions, and configure flags.
+ fixes a use-after-free crash when using epoll() in combination with
read errors
0.9.29:
+ epoll can now also be used with SSL connections
+ following recent HTTP/1.1 clarfications, MHD no longer send
a "Content-length" header in CONNECT responses.
+ the "MHD_add_connection" call now consistently sets an "errno"
value to indicate the cause of errors.
Connections added this way are now always processed immediately.
+ fixes a recently-introduced bug which prevented HTTP pipelining
from working properly in some cases and a build error in
conjunction with the "--disable-messages" configure option.
- Enable build of (experimental) SPDY support.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=26
+ support for epoll-based event loops (Linux-only)
+ various new options:
- MHD_USE_DUAL_STACK for binding to IPv4 and IPv6 at the same time
- MHD_USE_PIPE_FOR_SHUTDOWN to cleanly support MHD_quiesce_daemon on
non-Linux systems
- MHD_CONNECTION_INFO_CONNECTION_FD to allow COMET applications to
disable TCP Nagle
- MHD_OPTION_CONNECTION_MEMORY_INCREMENT for better control over
buffer size allocations
+ and fixes various minor bugs
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=23
+ performance improvements for POST processing
+ new API call to reduce the number of select calls (if in "external"
select mode)
+ new function to allow applications to stop MHD from processing new
incoming connections while finishing ongoing requests
+ fixes an initialization problem on some platforms
+ fixes bug in the postprocessor's URL parser.
+ SSL connections are no longer dropped if the system uptime is less
than the connection timeout
+ allows creating responses with zero bytes using
MHD_create_response_from_callback.
+ few "const" statements have been added to allow keeping more static
strings in ROM.
+ post processor now tolerates uploads which don't contain "\r\n" and
also returns keys which don't have a matching value
+ fixes the loss of a parameter in processing POST data from IE8 and
Chrome. It automatically sets a "Connection: close" header if the
client requests the connection to be closed. Finally, given both
'chunked' encoding and 'content-length', MHD now ignores the
'content-length' header as per the RFC
+ adds support for building libmicrohttpd for Android
+ fixes an issue with data in TLS buffers sometimes not being completely
drained if there was no activity on the socket.
- reenabled tests and moved to %check
- add source verification using gpg
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=19
- Update to 0.9.22:
+ Allow to configure basic and digest authentication separately
+ Fix URI argument parsing when string contained keys without
equals sign in middle of the argument.
+ Reduce default size in poft processor buffer.
- Remove --enable-client-side from configure call, it doesn't exist
anymore.
- Update License tag to new SPDX format.
- Updated to 0.9.21
- Updated to 0.9.19
- Updated to 0.9.17
- Updated to 0.9.16
- Updated to 0.9.15
- Updated to 0.9.11
- Updated to 0.9.10
- Updated to 0.9.9
OBS-URL: https://build.opensuse.org/request/show/136334
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmicrohttpd?expand=0&rev=16