Sync from SUSE:ALP:Source:Standard:1.0 libmicrohttpd revision f7c31c256db8b45094f11f90b0c9216a

This commit is contained in:
Adrian Schröter 2023-06-28 13:49:02 +02:00
commit 8f41f4b4cd
6 changed files with 1170 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libmicrohttpd-0.9.77.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

869
libmicrohttpd.changes Normal file
View File

@ -0,0 +1,869 @@
-------------------------------------------------------------------
Wed May 31 04:59:03 UTC 2023 - Andreas Stieger <Andreas.Stieger@gmx.de>
- libmicrohttpd 0.9.77:
* improvements for Digest and Basic authorizations
* fix efficiency for TLS upgraded connections
* fix processing of folded headers in requests
* fix functionality with blocking sockets
- update upstream signing key
-------------------------------------------------------------------
Tue Feb 28 21:20:34 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.76
* CVE-2023-27371: Fix potential DoS vector in MHD_PostProcessor
(boo#1208745)
-------------------------------------------------------------------
Mon Dec 27 09:52:13 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.75:
* fixes for where "monotonic" clock may jump back
-------------------------------------------------------------------
Mon Dec 20 19:41:33 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.74:
* new experimental implementation of WebSockets disabled by default
* improved compliance with the RFC HTTP specifications
* new implementation of reply header forming
* new implementation of request chunked encoding parsing
* new automatic error replies
* Keep-alive header is omitted by default for HTTP/1.1 connections.
Use of header can be enforced by response flag.
* Chunked encoding is used for HTTP/1.1 non-keep-alive connections
for responses with unknown size. Previously MHD used "indication
of the end of the response by closing connection" in such cases,
however it is not correct for HTTP/1.1 connections as per HTTP
RFC.
* As required by HTTP RFC, use HTTP/1.1 version instead of HTTP/1.0
in reply headers when client is HTTP/1.0 . HTTP/1.0 version can
be enforced by response flag.
* User response headers are used in replies in the same order as
was added by application.
* Allowed tab characters in response header values.
* All custom "Connection:" response headers are automatically
combined into single "Connection:" header.
* "keep-alive" token silently dropped from custom "Connection:"
response header. "Keep-alive" cannot be enforced and used
automatically if possible.
* Allow tab character in custom response header value.
* Disallow space character in custom response header value.
* Do not allow responses with 1xx codes for HTTP/1.0 requests.
* Detected and reported incorrect "Upgrade" responses.
-------------------------------------------------------------------
Tue May 18 09:54:14 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.73:
* new function for vector-backed responses
* compatibility with autoconf 2.70+
* Implement ALPN support
-------------------------------------------------------------------
Tue Dec 29 13:25:29 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.72:
* improved performance with stay-alive HTTP and HTTPS connections
* bug fixes
- remove deprecated texinfo macros
-------------------------------------------------------------------
Sat Jul 4 17:40:48 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- libmicrohttpd 0.9.71:
* Fix buffer overflow issue in URL parser [boo#1173718]
* Fixed PostProcessor bug
* Documentation and example fixes
-------------------------------------------------------------------
Sun Feb 9 10:15:21 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- 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.
-------------------------------------------------------------------
Sun Dec 15 18:50:33 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- update to 0.9.69:
* If application suspends a connection before we could send
100 CONTINUE, give application another shot at queuing a reply
before the upload begins.
-------------------------------------------------------------------
Tue Nov 5 08:20:42 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.9.68:
* Fix regression where MHD would fail to return an empty response
when used with HTTPS.
* Introduce MHD_RF_INSANITY_HEADER_CONTENT_LENGTH
- drop libmicrohttpd-0.9.67-fix-nonvoid-return.patch, in release
-------------------------------------------------------------------
Thu Oct 24 19:45:52 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.9.67:
* improvements that eliminate system and C library calls
- drop libmicrohttpd-0.9.66-fix-gnutls-dependency.patch, upstream
- add libmicrohttpd-0.9.67-fix-nonvoid-return.patch from upstream
-------------------------------------------------------------------
Fri Aug 2 13:53:59 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- fix build with SLE 12 with older GnuTLS:
* libmicrohttpd-0.9.66-fix-gnutls-dependency.patch
-------------------------------------------------------------------
Fri Aug 2 10:53:30 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.9.66:
* Fix issue with discarding unhandled upload data discovered
* Fix hanging situation with large transmission over upgraded
(i.e. Web socket) connection with epoll() and HTTPS enabled
* Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for
- clean up build dependency list
-------------------------------------------------------------------
Sat Jul 6 11:02:36 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- 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.
-------------------------------------------------------------------
Mon Jun 10 14:06:44 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- 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.
-------------------------------------------------------------------
Sun Feb 10 22:00:54 UTC 2019 - mardnh@gmx.de
- 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.
-------------------------------------------------------------------
Fri Dec 7 13:28:42 UTC 2018 - malte.kraus@suse.com
- Update to version 0.9.61:
* parse arguments with (properly) escaped URLs correctly. Replace
sprintf with snprintf in testcases.
* Fix build issue with GnuTLS < 3.0.
* Add MHD_create_response_from_buffer_with_free_callback.
- Update to version 0.9.60:
* gettext updated to 0.19.8
* can use epoll() without listen socket now
* in thread-per-connection mode, socket closure is now
communicated in a timely fashion to the application
* added MHD_RF_HTTP_VERSION_1_0_RESPONSE option
* preventing bogus transfer-encoding values
* Added MHD_OPTION_GNUTLS_PSK_CRED_HANDLER
* allow digest authentication with hashed password
* ensure request completed callback is called from correct thread
and also for upgraded connections
-------------------------------------------------------------------
Mon Feb 26 19:05:14 UTC 2018 - mardnh@gmx.de
- 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().
-------------------------------------------------------------------
Fri Dec 1 14:05:56 UTC 2017 - tchvatal@suse.com
- Install copying
-------------------------------------------------------------------
Thu Nov 30 15:01:33 UTC 2017 - mpluskal@suse.com
- Update to version 0.9.57:
* See provided Changelog for details
- Drop no longer needed patches:
* libmicrohttpd_test_data.patch
* disable-stalling-test.patch
-------------------------------------------------------------------
Mon May 29 09:38:20 UTC 2017 - tchvatal@suse.com
- Version update to 0.9.55 bsc#1041216:
* See provided Changelog for details
-------------------------------------------------------------------
Mon May 15 11:49:20 UTC 2017 - mpluskal@suse.com
- Update licensing information
-------------------------------------------------------------------
Thu May 11 08:15:24 UTC 2017 - mpluskal@suse.com
- Update to version 0.9.54:
* See provided Changelog for details
-------------------------------------------------------------------
Thu Apr 13 17:02:21 UTC 2017 - mpluskal@suse.com
- Update to version 0.9.53:
* See provided Changelog for details
- Refresh patch:
* libmicrohttpd_test_data.patch
-------------------------------------------------------------------
Wed Mar 8 13:17:21 UTC 2017 - tchvatal@suse.com
- Do not abort on failing tests, as they randomly fail quite a lot
bsc#1012840
-------------------------------------------------------------------
Mon Dec 12 11:03:32 UTC 2016 - tchvatal@suse.com
- Version update to 0.9.52:
* See provided Changelog for details
- Refresh patch:
* disable-stalling-test.patch
-------------------------------------------------------------------
Fri Jun 3 08:23:38 UTC 2016 - mpluskal@suse.com
- Update to version 0.9.50:
* See provided Changelog for details
-------------------------------------------------------------------
Thu Apr 14 18:10:40 UTC 2016 - mpluskal@suse.com
- Update to 0.9.49
* See provided Changelog for details
- Fix typo in previous changelog entry
- Refresh patches
- Use pkgconfig style dependencies
-------------------------------------------------------------------
Sun Dec 20 09:24:05 UTC 2015 - mpluskal@suse.com
- Update to 0.9.48
* Improved compatibility with VS2010 and other older compilers.
* Default backlog size for listen socket was changed from 32 to
SOMAXCONN, added new option MHD_OPTION_LISTEN_BACKLOG_SIZE to
override default backlog size.
* If not all connections can be handled by MHD_select() than at
least some of connections will be processed instead of failing
without any processing.
* Fixed redefenition of FD_SETSIZE on W32 so select() will work
with 2000 connections instead of 64.
* Better handled redefenition of FD_SETSIZE on all platforms.
* Close sockets more aggressively in multi-threaded mode
(possibly relevant for idle servers).
- Update dependencies
-------------------------------------------------------------------
Sat Dec 5 09:22:32 UTC 2015 - mpluskal@suse.com
- Update to 0.9.47
* Reworked VS project files. Used x64 build tools by
efault, many optimizations, fixes.
dded project files for VS 2015. -EG
* SPDY is dead, killing experimental libmicrospdy. -CG
* New logic for controlling socket buffer modes.
Eliminated delay before last packet in response and before
"100 Continue" response on all platforms. Also response
header are pushed to client without waiting for response
body. -EG
* Remove 200ms delay observable with keep-alive on Darwin
and *BSD platfroms. -EG
* Fix issue with shutdown if connection was resumed just
before shutdown. -FC
- Update dependencies
-------------------------------------------------------------------
Fri Nov 13 14:01:04 UTC 2015 - mpluskal@suse.com
- Enable http2/spdy
- Don't build examples as we don't ship them anyway
- Disable tests as linking fails for them with spdy enabled
-------------------------------------------------------------------
Tue Nov 10 14:23:58 UTC 2015 - mpluskal@suse.com
- Update to 0.9.46
* Undoing change from Sun Oct 25 15:29:23 CET 2015 as the
original code was counter-intuitive but correct, and the new
code does break pipelining. Ignore empty lines at the beginning
of an HTTP request (more tolerant implementation).
-------------------------------------------------------------------
Sun Nov 1 11:44:58 UTC 2015 - mpluskal@suse.com
- Update to 0.9.45
* Rework deprecation maros: fix errors with old GCC versions,
improved support for old clang and new GCC. -EG
* Return correct header kind in MHD_get_connection_values()
even if a bitmask is used for the "kind" argument. -FC/CG
* Fixing transient resource leak affecting long-lived
connections with many keep-alives and HTTP request
pipelining under certain circumstances (which reduced
the receive window).
* Fixed assertion failure triggered by a race in
thread-per-connection mode on shutdown in rare
circumstances. -CG
* Deduplicate code between digestauth and connection
parsing logic for URI arguments, shared code moved
to new MHD_parse_arguments_ function in internal.c. -CG
-------------------------------------------------------------------
Fri Oct 2 12:33:17 UTC 2015 - mpluskal@suse.com
- Update to 0.9.44
* Various fixes for W32 VS project files.
* Fix digest authentication with URL arguments where value-less
keys are given before the last argument.
* Do not use shutdown() on listen socket if
MHD_USE_PIPE_FOR_SHUTDOWN is set.
-------------------------------------------------------------------
Sat Sep 19 10:43:28 UTC 2015 - mpluskal@suse.com
- Update to 0.9.43
* Call resume_suspended_connections() when the user is running
its own mainloop and calls MHD_run_from_select() to support
resuming connections with external select. -FC
* Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
is allowed. -CG
* Reimplement monotonic clock functions for better
support various platforms.
Print more information during configure. -EG
* Export MHD_get_reason_phrase_for() symbol. -CG
* Added checks for overflows and buffer overruns, fixed
possible buffer overrun. Updated md5 implementation.
Fixed many compiler warning (mostly for VC compiler). -EG
* Fix failure to properly clean up timed out connections
if running in external select mode without listen socket,
which caused busy waiting until new connections arrived.
(Fixes #3924, thanks to slimp for reporting and testcase). -CG
* Ignore close() errors on sockets except for EBADF,
fixes #3926. -CG
* Make sure to decrement connection counter before
calling connection notifier so that
MHD_DAEMON_INFO_CURRENT_CONNECTIONS does not
present stale information (relevant if this is
used for termination detection of a daemon
stopped via MHD_quiesce_daemon()). Thanks to
Markus Doppelbauer for reporting. -CG
* Fix (automatic) handling of HEAD requests with
MHD_create_response_from_callback() and HTTP/1.1
connection keep-alives. Thanks to Cristian Klein
for reporting. -CG
* Add new functions MHD_create_response_from_fd64() and
MHD_create_response_from_fd_at_offset64(). -EG
* Fixing memory leak in digest authentication. -AW
* Add deprecation compiler messages for deprecated functions
and macros. -EG
* Fixing digest authentication when used in combination
with escaped characters in URLs. -CG/AW
- Disable spdy support for now as spdylay is missing
- Drop libmicrohttpd_test_session.patch as it is fixed now
-------------------------------------------------------------------
Wed Jul 15 16:42:35 UTC 2015 - matwey.kornilov@gmail.com
- fux build for SLES11:
* explicitly require libgnutls-devel in -devel package
-------------------------------------------------------------------
Mon Jul 13 13:01:26 UTC 2015 - matwey.kornilov@gmail.com
- fix build for SLES11:
* update disable-stalling-test.patch: Instead of disabling testcase
in Makefile disable testcases in code, this could be even better
we can disable only broken test but not the whole testcase.
* add libmicrohttpd_test_session.patch: Disable test relying on
available libcurl version
(see https://gnunet.org/bugs/view.php?id=3893 for details)
* wrap libmicrosdpy into macro to disable building on
systems with openssl < 1.0.1
- update to 0.9.42:
* fix off-by-one in MHD_start_daemon_va() error handling logic
* fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT
-------------------------------------------------------------------
Sun May 3 10:26:32 UTC 2015 - astieger@suse.com
- update to 0.9.41:
* fix bugs relating to various threading modes
* fix some HTTP 1.0 tests
-------------------------------------------------------------------
Mon Apr 13 11:39:23 UTC 2015 - meissner@suse.com
- 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
-------------------------------------------------------------------
Thu Jan 8 08:48:47 UTC 2015 - meissner@suse.com
- libmicrohttpd.keyring: replaced maintainers keyring by new one with:
pub 4096R/E29FC3CC 2014-12-09
uid Christian Grothoff <grothoff@gnunet.org>
uid Christian Grothoff <christian@grothoff.org>
uid Christian Grothoff <christian.grothoff@inria.fr>
sub 4096R/117E1AFB 2014-12-09
-------------------------------------------------------------------
Wed Jan 7 13:44:46 UTC 2015 - prusnak@opensuse.org
- updated to 0.9.39
- dropped libmicrohttpd-0.9.34-spdy-pc.patch (included upstream)
-------------------------------------------------------------------
Thu May 8 14:00:36 UTC 2014 - meissner@suse.com
- do not define test_data before system header inclusion, libgcrypt
uses this as argument parameters. (libmicrohttpd_test_data.patch)
-------------------------------------------------------------------
Mon Apr 28 07:23:50 UTC 2014 - coolo@suse.com
- disable problematic test case that causes the testsuite to deadlock
just too often (disable-stalling-test.patch)
-------------------------------------------------------------------
Thu Apr 24 07:32:10 UTC 2014 - dmueller@suse.com
- remove dependency on gpg-offline, source validator already
does that
-------------------------------------------------------------------
Mon Apr 21 06:44:06 UTC 2014 - tchvatal@suse.com
- Version bump to 0.9.34:
* 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
-------------------------------------------------------------------
Tue Mar 4 12:42:30 UTC 2014 - coolo@suse.com
- do not run checks in parallel - they deadlock from time to time
- enable make debug to debug the problem on OBS in case it reappears
-------------------------------------------------------------------
Mon Jan 27 19:52:38 UTC 2014 - sleep_walker@suse.cz
- refresh libmicrohttpd-drop-test_tls_options.patch
- add there also ignoring test_https_sni
- Update to 0.9.33 bsc#854443 CVE-2013-7038 CVE-2013-7039
+ 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
before adding resume; even suspend should be safe since it
happens in a callback from the daemon.
I think it's easier to (a) have MHD_suspend_connection() move
the connection to a suspended queue, (b) have
MHD_resume_connection() mark the connection as resuming,
and then (c) do all the actual queue manipulations in
MHD_select (poll, epoll, etc.) to move the resumed
connections back to their normal queues, in response to the
wake up. The changes are simpler & cleaner. There is a cost
to the basic select loop that is avoided by making
suspend/resume a startup option. The per-worker pipes can
then also be enabled only with that option set.
+ Eliminating theoretical stack overflow by limiting length
of URIs in authentication headers to 32k (only applicable
if the application explicitly raised the memroy limits,
and only applies to MHD_digest_auth_check). Issue was
reported by Florian Weimer.
+ Fix race on shutdown signal with thread pool on non-Linux
systems by signalling n times for n threads.
+ Introduce state to mark connections in suspended state (with
epoll); add missing locking operations in MHD_suspend_connection.
+ Fix definition of MHD_TLS_CONNECTION_INIT.
+ Fixing issue in PostProcessor when getting partial boundary
at the beginning, expanding test suite.
+ Implementing faster processing of upload data in multipart
encoding (thanks to performance analysis by Adam Homolya).
+ Adding support for connection flow control via
MHD_suspend_connection and MHD_resume_connection.
0.9.31:
+ Fixing build issues on OS X with CLOCK_MONOTONIC not being
implemented on OS X.
+ Make libmicrohttpd play nicely with upcoming libgcrypt 1.6.0.
+ Improved configure checks for cURL.
+ Signal connection termination as OK (and not as ERROR) if the
stream was terminated by the callback returning
MHD_CONTENT_READER_END_OF_STREAM. Also, release response
mutex before calling the termination callback, to avoid
possible deadlock if the client destroys the response in
the termination callback (due to non-recursiveness of the
lock).
+ Adding #define MHD_HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN.
+ Also pass MHD connection handle in URI log callback.
+ Improved check for proper OpenSSL version for
libmicrospdy.
+ Set IPV6_V6ONLY socket option correctly when IPv6 is
enabled (MHD_USE_IPv6) but not dual stack
(MHD_USE_DUAL_STACK)
-------------------------------------------------------------------
Thu Oct 3 12:59:19 UTC 2013 - mvyskocil@suse.com
- 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.
-------------------------------------------------------------------
Wed Jul 24 10:18:44 UTC 2013 - mvyskocil@suse.com
- Update to 0.9.28
+ 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
-------------------------------------------------------------------
Thu Jun 6 08:15:30 UTC 2013 - mvyskocil@suse.com
- drop test_tls_options if build is in OBS
libmicrohttpd-drop-test_tls_options.patch
-------------------------------------------------------------------
Wed Jun 5 16:42:38 UTC 2013 - jengelh@inai.de
- More robust make install call
- Remove redundant %clean section
- Requires(pre) is useless without a %pre script
-------------------------------------------------------------------
Thu May 16 07:42:59 UTC 2013 - mvyskocil@suse.com
- Update to 0.9.27
+ 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
-------------------------------------------------------------------
Wed Oct 3 11:33:35 CEST 2012 - fcrozat@suse.com
- Add copyright header to specfile.
-------------------------------------------------------------------
Fri Sep 28 09:57:40 UTC 2012 - fcrozat@suse.com
- 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.
-------------------------------------------------------------------
Fri Aug 10 21:48:48 UTC 2012 - bitshuffler@opensuse.org
- Updated to 0.9.21
-------------------------------------------------------------------
Sun Feb 5 13:02:18 UTC 2012 - bitshuffler@opensuse.org
- Updated to 0.9.19
-------------------------------------------------------------------
Sun Nov 27 13:23:42 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.17
-------------------------------------------------------------------
Sat Nov 12 20:37:00 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.16
-------------------------------------------------------------------
Sun Oct 16 11:37:43 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.15
-------------------------------------------------------------------
Sat May 21 12:31:02 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.11
-------------------------------------------------------------------
Fri Apr 29 18:06:18 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.10
-------------------------------------------------------------------
Wed Mar 30 16:50:42 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.9
-------------------------------------------------------------------
Sat Mar 5 21:38:11 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.8
-------------------------------------------------------------------
Tue Feb 15 16:54:35 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.7
-------------------------------------------------------------------
Thu Jan 27 02:33:32 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.6
-------------------------------------------------------------------
Sat Jan 15 15:02:29 UTC 2011 - bitshuffler@opensuse.org
- Updated to 0.9.5
-------------------------------------------------------------------
Wed Dec 29 15:15:48 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.9.4
-------------------------------------------------------------------
Wed Nov 24 16:02:15 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.9.3
-------------------------------------------------------------------
Thu Oct 21 13:21:06 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.9.2
-------------------------------------------------------------------
Mon Sep 20 17:17:03 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.9.1
-------------------------------------------------------------------
Tue Jul 27 07:26:27 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.9.0
-------------------------------------------------------------------
Mon Mar 15 08:35:12 UTC 2010 - pascal.bleser@opensuse.org
- update to 0.4.6:
* fixes use of poll causing busy waiting
* fixes a segfault if inconsistent options were used
* fixes SSL support on big-endian architectures
* fixes an issue with error signalling for PUT/POST requests in HTTP 1.1
-------------------------------------------------------------------
Tue Feb 2 13:10:52 UTC 2010 - bitshuffler@opensuse.org
- Updated to 0.4.5.
-------------------------------------------------------------------
Sun Jan 17 19:52:07 UTC 2010 - bitshuffler@opensuse.org
- Initial RPM.

144
libmicrohttpd.keyring Normal file
View File

@ -0,0 +1,144 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFxlOfUBEADV4UGy3xYAYxXTS3UWPYxYvvJZU6TIOeJ8oLGui+HdyDKmWX2G
cdHT3JwwnUI0g56SE1F2V2iYyBKWgJhNv84F5ZeLA+B5Bzlj8K33SItu6Rpbo9Jd
OV27oyTbRncKP06YMxvyjobriR0xEiftQsG2vfa0GaYiaVMh2atljEr8g3teKRwt
UfIdEao3QNBkJWXgJ9i6o5fAIc8goBDdJMA4RxrzbXwNXbGqJMwkvboSzMiTPkUU
LhIe0gN1YvohpgbMmhJU9T7/+yAnRgAHxnPM87dF993y0a1I6fxsRKYXck2MnojU
/i9mSsEIaEyKOiWLOwlWtcchGedTX1EuS5vBzXhsfQjChcAQmhCsMCie9z4YzEb9
eVVKEdE2iOoPY0AtuQO/t1G2+HRlrmxdsR9d+lA5cX3i3MhW/IbSNEabadhObXFR
/sivjnorV1cwP0jv7XKaDR9mNwDgb99fpHAG0y+aF2m6Boilj/nr8mWm+F1j7r2Q
rLZEz9VOD8Snj8S7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
vA7P4GBaNuyJ4W7L1yGcF/blxibglWR9F0PugIuzULCmdortAJGJnZjamgZLIOnn
ol68Prni88WEy1TuIOv6yisEZQv8BdCapKWJs2+2/2y+71zG4x96eON2uKrGLqlM
63OjS7R/Bj2sSdGUHX0Tr6O4N8tzTk1imPoWCl0YO82J8DaSDTPSib+1WLP5r7pw
1ttJABEBAAGJAjwEGAEKACYWIQTqgS2++lp+8X2o8sFGCjF8MybSrgUCXGU59QIb
DAUJC0c1AAAKCRBGCjF8MybSrm7TEADEKH0ESX2ruH3limo/W+VOnHGQK9bx0mnW
jOwTraFkIGEzIEijjrUgFHGIc1VQ9vG43mbgDDm5hPjWC7pGfgHjTmtS5fdBbqUZ
bHMsz4CHDRREDZVcPpFoGTfpX9hPeTx+iFdoS8z9CookLC0bq3TFJicdFk4R3l5b
ALSVXNffpyAcFuZpsWHt/L6Tl7zbsZXwjBkX/uusTseTJo9MhoLjlxpMquhmrjnv
PPdwzi9BAddKhNEbWXGtZo1+jr2q8qLgWjIS2KmyN4VgUrvaR9A0wCQfIkOVP+ie
M2lbSjUE+vXSlfp+enq5UihpcHsc6U1CTblNDkijY+e41TdD1m1UyuPcYbWog2St
xhbFZVZUG1d1PzeX1SpVsczAnAoJjx92EauE73WkOlhquLfbFEMUaEfSZsNFz4UB
dD9rD33sFEj0K08uviBExXWqAKerp5OY6D3kKXn/k2OzrVzg6rBasw2S2AzuHEIK
xWWSs94HXT3cfjRU3b6XJakf04eISQiuppi2PEh10kyzDqeFEbP86dNuabuDxCh/
3JNy3ZMIkK6QK/V+u5ZXpozMRmF1JmIza55JZeiheqPodfLUxyu7oShY2c9CsWWA
BlfnRXwE36uP6Ea016SebvI6awIvXkVzPkZI6EQQnCWlJb11fQJfnfJ8DlGw8B/x
7P27Z7KvDA==
=6E0D
-----END PGP PUBLIC KEY BLOCK-----

131
libmicrohttpd.spec Normal file
View File

@ -0,0 +1,131 @@
#
# spec file for package libmicrohttpd
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2010,2011,2012 Stephan Kleine
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global sover 12
%global libname %{name}%{sover}
Name: libmicrohttpd
Version: 0.9.77
Release: 0
Summary: Small Embeddable HTTP Server Library
# Some internal tests are licenced as GPL-3.0+ - they are only used in
# check phase and not shipped further
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Networking/Web/Servers
URL: https://www.gnu.org/software/libmicrohttpd/
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz.sig
Source2: https://savannah.gnu.org/people/viewgpg.php?user_id=90068#/%{name}.keyring
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: socat
BuildRequires: pkgconfig(gnutls) >= 2.8.6
BuildRequires: pkgconfig(libcurl) >= 7.16.4
%description
GNU libmicrohttpd is a small C library that is supposed to make it easy to run
an HTTP server as part of another application. GNU libmicrohttpd is free software
and part of the GNU project. Key features that distinguish libmicrohttpd from
other projects are:
* C library: fast and small
* API is simple, expressive and fully reentrant
* Implementation is http 1.1 compliant
* HTTP server can listen on multiple ports
* Support for IPv6
* Support for incremental processing of POST data
* Creates binary of only 30k (without TLS/SSL support)
* Three different threading models
* Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
Symbian and z/OS
* Optional support for SSL3 and TLS (requires libgcrypt)
libmicrohttpd was started because the author needed an easy way to add a concurrent
HTTP server to other projects. Existing alternatives were either non-free, not
reentrant, standalone, of terrible code quality or a combination thereof. Do not
use libmicrohttpd if you are looking for a standalone http server, there are many
other projects out there that provide that kind of functionality already. However,
if you want to be able to serve simple WWW pages from within your C or C++
application, check it out.
%package -n %{libname}
Summary: Small embeddable http server library
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n %{libname}
Shared library for %{name} (%{summary}).
%package devel
Summary: Small Embeddable HTTP Server Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: pkgconfig >= 0.9.0
Requires: pkgconfig(gnutls) >= 2.8.6
%description devel
Headers, pkg-config files, so link and other development files for %{name}
(%{summary}).
%prep
%setup -q
%build
%configure \
--enable-bauth \
--enable-dauth \
--enable-epoll \
--enable-messages \
--enable-postprocessor \
--enable-https \
--enable-curl \
--disable-static \
--disable-examples
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -v %{buildroot}%{_infodir}/%{name}_performance_data.png
%check
# Parallel execution of tests fail
# Tests randomly fail so keep them in log for inspection rather than for valid
# verification of anything.
%make_build -j1 check || :
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license COPYING
%{_libdir}/%{name}.so.%{sover}*
%files devel
%license COPYING
%doc ChangeLog
%{_includedir}/microhttpd.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_infodir}/%{name}*.info%{?ext_info}
%{_mandir}/man3/%{name}.3%{?ext_man}
%changelog