Commit graph

29 commits

Author SHA1 Message Date
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
wiz
3dd3814f2d Update libmicrohttpd to 0.9.48:
Fri Dec 18 15:54:50 CET 2015
	Releasing libmicrohttpd 0.9.48. -CG

Tue Dec  15 18:35:55 CET 2015
	Improved compatibility with VS2010 and other older
	compilers. -EG

Tue Dec  8 21:48:44 CET 2015
	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. -EG

Sat Dec  5 17:30:45 CET 2015
	Close sockets more aggressively in multi-threaded
	mode (possibly relevant for idle servers). -CG
2015-12-29 23:35:00 +00:00
wiz
abfdfee9f3 Update to 0.9.47:
Fri Dec  4 13:53:05 CET 2015
	Releasing libmicrohttpd 0.9.47. -CG

Thu Dec  3 18:21:44 CET 2015
	Reworked VS project files. Used x64 build tools by
	default, many optimizations, fixes.
	Added project files for VS 2015. -EG

Tue Dec  1 14:05:13 CET 2015
	SPDY is dead, killing experimental libmicrospdy. -CG

Tue Dec  1 10:01:12 CET 2015
	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

Wed Nov 25 17:02:53 CET 2015
	Remove 200ms delay observable with keep-alive on Darwin
	and *BSD platfroms. -EG

Tue Nov 10 15:25:48 CET 2015
	Fix issue with shutdown if connection was resumed just
	before shutdown. -FC
2015-12-04 20:33:53 +00:00
wiz
d070879186 Add upstream bug report URL. 2015-11-21 09:44:21 +00:00
wiz
4bbf21a9cc Update libmicrohttpd to 0.9.46:
Fri Nov  6 22:54:38 CET 2015
	Fixing the buffer shrinkage issue, this time with test. -CG
        Releasing libmicrohttpd 0.9.46. -CG

Tue Nov  3 23:24:52 CET 2015
	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). -CG

Sat Oct 31 15:52:52 CET 2015
	Releasing libmicrohttpd 0.9.45. -CG

Tue Oct 27 12:08:02 CET 2015
	Rework deprecation maros: fix errors with old GCC versions,
	improved support for old clang and new GCC. -EG

Sun Oct 25 23:05:32 CET 2015
	Return correct header kind in MHD_get_connection_values()
	even if a bitmask is used for the "kind" argument. -FC/CG

Sun Oct 25 15:29:23 CET 2015
	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

Mon Oct  5 11:53:52 CEST 2015
	Deduplicate code between digestauth and connection
	parsing logic for URI arguments, shared code moved
	to new MHD_parse_arguments_ function in internal.c. -CG

Thu Oct  1 21:22:05 CEST 2015
	Releasing libmicrohttpd 0.9.44. -CG

Wed Sep 30 21:05:38 CEST 2015
	Various fixes for W32 VS project files. - EG

Fri Sep 25 09:49:10 CEST 2015
	Fix digest authentication with URL arguments where
	value-less keys are given before the last argument.
	Thanks to MA for reporting. -CG

Tue Sep 22 19:17:54 CEST 2015
	Do not use shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN
	is set. -CG

Wed Sep 16 11:06:02 CEST 2015
	Releasing libmicrohttpd 0.9.43. -CG

Wed Sep  2 16:50:31 CEST 2015
 	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

Sun Aug 30 14:53:51 CEST 2015
	Correct documentation as to when MHD_USE_EPOLL_LINUX_ONLY
	is allowed. -CG

Thu Aug 27 09:38:44 CEST 2015
	Reimplement monotonic clock functions for better
	support various platforms.
	Print more information during configure. -EG

Fri Aug 14 14:13:55 CEST 2015
	Export MHD_get_reason_phrase_for() symbol. -CG

Sat Aug  8 12:19:47 CEST 2015
	Added checks for overflows and buffer overruns, fixed
	possible buffer overrun.
	Updated md5 implementation.
	Fixed many compiler warning (mostly for VC compiler). -EG

Tue Aug  4 13:50:23 CEST 2015
	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

Sun Aug  2 19:08:20 CEST 2015
	Ignore close() errors on sockets except for EBADF,
	fixes #3926. -CG

Sat Jun 27 22:16:27 CEST 2015
	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

Fri Jun 26 23:17:20 CEST 2015
	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

Tue Jun 09 18:30:17 CEST 2015
	Add new functions MHD_create_response_from_fd64() and
	MHD_create_response_from_fd_at_offset64(). -EG

Thu Jun  4 13:37:05 CEST 2015
	Fixing memory leak in digest authentication. -AW

Wed Jun 03 21:23:47 CEST 2015
	Add deprecation compiler messages for deprecated functions
	and macros. -EG

Fri May 29 12:23:01 CEST 2015
	Fixing digest authentication when used in combination
	with escaped characters in URLs. -CG/AW

Wed May 13 11:49:09 CEST 2015
	Releasing libmicrohttpd 0.9.42. -CG

Wed May 13 11:33:59 CEST 2015
	Fix off-by-one in MHD_start_daemon_va() error handling logic
	when initialization of threads for thread pool fails for some
	reason. -CG/JC

Thu May  7 17:05:46 CEST 2015
	Add support for poll() in W32. -EG

Wed May  6 18:07:38 CEST 2015
	Fix #3784: actually implement MHD_CONNECTION_INFO_SOCKET_CONTEXT. -asherkin

Thu Apr 30 00:03::49 CEST 2015
	Releasing libmicrohttpd 0.9.41. -CG

Thu Apr 30 00:02:33 CEST 2015
	Fix issue where resumed connections would not continue
	unless other requests are active in certain
	event-loop modes. Thanks to Mike Castillo for reporting. -CG

Wed Apr 15 03:16:18 CEST 2015
	Fixing issue #3753 (testcase issue). -CG

Wed Apr 15 00:30:34 CEST 2015
	Fix looping issue when using MHD_USE_POLL_INTERNALLY
	and a client times out. -LB

Sun Apr 12 21:48:50 CEST 2015
	Fix looping issue when combining MHD_USE_EPOLL_LINUX_ONLY
	with HTTPS and slow clients. -CG

Fri Apr 10 22:02:27 CEST 2015
	Fix logic to add "Connection: Close" that was broken in 0.9.38
	when adding MHD_RF_HTTP_VERSION_1_0_ONLY. -CG

Fri Apr 10 00:38:40 CEST 2015
	Ensure fast termination in MHD_USE_THREAD_PER_CONNECTION
	mode on W32 by using signal pipe. -CG

Thu Apr  9 09:01:15 CEST 2015
	Fixing issue with undrained signal pipe when using
	MHD_USE_SELECT_INTERNALLY and MHD_USE_POLL in combination
	with MHD_resume_connection(), causing 100% CPU usage. -DD

Tue Apr  7 00:12:36 CEST 2015
	Releasing libmicrohttpd 0.9.40. -CG

Sat Apr  4 18:28:24 CEST 2015
	Fix potential deadlock issue in MHD_USE_THREAD_PER_CONNECTION
	mode if shutdown is initiated while connections are active. -CG

Sat Apr  4 17:48:13 CEST 2015
	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

Fri Apr  3 12:55:31 CEST 2015
	Update HTTPS testcases to avoid SSLv3, as SSLv3 is dead.

Fri Apr  3 12:25:28 CEST 2015
	Do not enforce FD_SETSIZE-limit on worker control
	pipe when using MHD_USE_EPOLL_LINUX_ONLY (#3751). -MH/CG

Tue Mar 31 10:28:26 CEST 2015
	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

Thu Feb 26 09:55:43 CET 2015
	Fixing bug that prevented MHD_OPTION_HTTPS_MEM_DHPARAMS
	from working within a MHD_OPTION_ARRAY. -DD

Sun Feb  8 01:24:38 CET 2015
	Adding MHD_OPTION_HTTPS_KEY_PASSWORD as proposed by
	Andrew Basile. -CG/AB

Wed Feb  4 20:34:22 CET 2015
	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

Sun Jan 18 20:09:06 CET 2015
	Fix potential infinite loop on shutdown in multi-threaded mode
	under certain conditions. -CG
2015-11-21 09:33:45 +00:00
agc
b9b754e081 Add SHA512 digests for distfiles for www category
Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 02:46:46 +00:00
wiz
1a8b91542f Bump PKGREVISION for nettle shlib major bump. 2015-08-23 14:30:35 +00:00
wiz
7492af5789 Update to 0.9.39:
Mon Dec 22 16:33:18 CET 2014
	Releasing 0.9.39. -CG

Mon Dec 22 13:02:36 CET 2014
	Fix generated compiler flags for Solaris Studio linker (#3584). -CG

Sat Dec 20 00:35:40 CET 2014
	Adding MHD_http_unescape() to public API (#3585). -CG
	Updating documentation to document
	MHD_is_feature_supported(). -CG

Thu Dec  4 00:43:10 CET 2014
	If "Connection: upgrade" is requested, do not add
	"Connection: Keep-Alive" in the response. -GJ

Tue Nov 18 13:52:29 CET 2014
	Call MHD_cleanup_connections() during MHD_DAEMON_INFO_CURRENT_CONNECTIONS
	processing for more accurate results. -MS

Wed Oct 29 20:45:21 CET 2014
	Adding MHD_OPTION_LISTENING_ADDRESS_REUSE option allowing clients
	to force allowing re-use of the address:port combination
	(SO_REUSEPORT). -MS

Wed Oct 29 16:27:05 CET 2014
	Adding MHD_DAEMON_INFO_CURRENT_CONNECTIONS to allow clients
	to query the number of active connections. -MS

Fri Oct  3 14:28:58 CEST 2014
	Releasing 0.9.38. -CG

Mon Sep 29 22:25:34 CEST 2014
	Properly decode '+' in URL-encoded POST data. -CG/KM

Fri Sep 12 17:32:09 CEST 2014
	Fix --disable-dauth configure option (#3543). -doostee

Thu Jun 26 21:06:04 CEST 2014
	Fix failure to terminate 'instantly' in thread-per-connection
	mode if there is a client with open connections.
	Thanks to Kenneth Mastro for reporting. -CG

Sun Jun 22 12:22:08 CEST 2014
	Actually, avoid locking on response as responses must
	not be modified in a connection-specific way; instead
	modify the connection's data buffer to add missing
	responses headers.  If we are forced to add
	"Connection: close", suppress output of conflicting
	application-provided "Connection: Keep-Alive" header. -CG

Sun Jun 22 00:22:08 CEST 2014
	Lock on response if adding headers, needed if response
	object is shared across threads and connections. -CG

Thu Jun 19 17:32:32 CEST 2014
	Ensure that listen FD is bound to epoll FD even before
	MHD_run() is called if running with MHD_USE_EPOLL_LINUX_ONLY
	in combination with 'external select' mode.  Thanks to
	Marcos Pindado Sebastian for reporting. -CG

Sun Jun  8 15:10:44 CEST 2014
	Add 'MHD_set_response_options' as a way to set per-response
	flags.  Add flag to force HTTP 1.0-only conservative
	behavior, in particular suppressing adding "Connection"
	headers. -CG

Mon Jun  2 00:03:28 CEST 2014
	Added back unescaping for URI path (#3413) but without
	unescaping '+' (#3371) to remain compatible with
	MHD 0.9.34 and before.  Note that applications providing
	a custom MHD_OPTION_UNESCAPE_CALLBACK are no longer expected
	to replace '+' with ' ', as that is now done separately for
	the locations where this transformation is appropriate.
	Releasing 0.9.37. -CG

Wed May 28 15:30:56 CEST 2014
	Properly applying patch that was supposed to be
	committed on "May  2 20:22:45 CEST 2014" to address
	infinite loop (DoS) when HTTP connection is reset (#3392). -GM

Sun May 25 20:18:27 CEST 2014
	Fixed W32 build issues. -EG
	Releasing 0.9.36. -CG

Sat May 17 06:47:00 CEST 2014
	Fix notifying client about completed request twice
	under certain circumstances. -CG

Tue May 13 18:24:37 CEST 2014
	Fix accidental transmission of footer termination '\r\n'
	for responses with zero byte payload and non-chunked
	encoding (#3397).  Thanks to amatus for reporting. -CG

Sun May  4 11:05:26 CEST 2014
	Fix gnutls header check to make it cross-compile aware. -BK

May  2 20:22:45 CEST 2014
	Fix infinite loop (DoS) when HTTP connection is reset (#3392). -GM
	Fix possible issue from combination of epoll and suspend/resume
	logic if edge trigger event is lost; also simplify logic to
	maintain simpler invariants on the epoll state. -CG
	Use OpenSSL cipher list "HIGH" in libmicrospdy (#3391). -CG
	Releasing 0.9.35. -CG

Thu Apr 10 09:39:38 CEST 2014
	Removed unescaping for URI path (#3371) as '+' should not
	be converted to space in accordance with
	http://www.w3.org/TR/html401/appendix/notes.html#ampersands-in-uris
	and http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1
	Note that we now also no longer convert '#38;' to '&'; if needed,
	the application needs to apply unescaping to the path of the URI
	itself (before, MHD unescaped '#38;' but not '&', so this
	inconsistency was now resolved by simply not unescaping anything
	before the first '&'). -CG

Tue Apr 08 15:35:44 CET 2014
	Added support for W32 native threads.
	Added --with-threads=LIB configure parameter. -EG

Mon Apr  7 13:25:30 CEST 2014
	Add MHD_OPTION_HTTPS_MEM_DHPARAMS to allow applications
	to enable PFS. -HB/CG

Tue Apr 01 07:10:23 CET 2014
	Added usage of native mutex on W32. -EG

Sat Mar 29 16:12:03 CET 2014
	Added MHD_is_feature_supported() function. -EG

Thu Mar 27 14:47:54 CET 2014
	Used larger FD_SETSIZE internally on W32.
	Extended API to work with non-default FD_SETSIZE. -EG

Tue Mar 25 12:53:55 CET 2014
	Fix limiting by IPv6 address. -EG

Tue Mar 25 09:06:13 CET 2014
	Added more FD_SETSIZE checks.
	Implemented FD_SETSIZE checks for W32. -EG

Wed Mar 05 13:15:05 CET 2014
	Cleanup and refactoring of configure.ac.
	m4 macros updated.
	Custom configure macros replaced with autoconf archive macros.
	SPDY disabled by default on W32.
	Changed configure flag from '--disable-pipe' to
	'--enable-socketpair'.
	Added configure flags '--disable-doc' and '--disable-examples'.
	Narrowed down extrenal lib specific compiler and linker flags
	usage. -EG

Wed Feb 26 17:42:34 CET 2014
	Refactoring of configure.ac: custom macros replaced with macros
	from Autoconf Archive.
	Minor corrections of configure.ac.
	Excluded pthread flags from global flags, pthread now used only
	where required.
	W32: fixed .dll resource compilation with '-isystem' CPPFLAG.
	W32: improved header compatibility with MSVC.
	W32: now tested on Win64, compiled by MinGW-w64. -EG

Mon Feb 24 23:13:53 CET 2014
	Added support for TCP FASTOPEN. -SHT
	Releasing 0.9.34. -CG

Thu Feb 20 14:17:05 CET 2014
	W32: Added creation of libmicrohttpd.lib, libmicrohttpd.def,
	libmicrohttpd.exp and libmicrohttpd-static.lib for easy use
	compiled MHD with MSVC.
	W32: Use MS lib.exe tool if available for creating MSVC staff.
	W32: Added .dll information resource. -EG

Tue Feb 18 19:46:45 CET 2014
	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.
	Some code refactoring. -EG

Sat Feb  8 15:08:35 CET 2014
	Corrected some uses of 'int' vs. 'size_t'. -EG/CG

Wed Jan 22 09:44:33 CET 2014
	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. -LJ

Wed Jan  1 21:38:18 CET 2014
	Allow Keep-Alive with HTTP 1.0 (if explicitly requested),
	and automatically set "Connection: Keep-Alive" in response
	in this case as well. -CG

Tue Dec 24 12:27:39 CET 2013
	Adding explicit annotations to hide symbols that are not for
	export in the C code (gcc 4.0 or higher only). -CG

Sun Dec 22 14:54:30 CET 2013
	Adding a few lines to avoid warnings from picky compilers. -CG

Sat Dec 21 17:26:08 CET 2013
	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.
	Releasing 0.9.33. -CG

Mon Dec  9 21:41:57 CET 2013
	Fix for per-worker daemon pipes enabled with
	MHD_USE_SUSPEND_RESUME that were not closed in
	MHD_stop_daemon. -MH

Sat Dec  7 00:44:49 CET 2013
	Fixing warnings and build issue if --disable-https is given
	to configure. -CG
2015-01-16 12:10:00 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
gls
c78e55145b Update www/libmicrohttpd to 0.9.32
This includes security fixes.

Upstream changes:
-----------------

Tue Dec  3 21:25:56 CET 2013
        Security fix: do not read past 0-terminator when unescaping
        strings (thanks to Florian Weimer for reporting).
        Releasing 0.9.32. -CG

Tue Dec  3 21:05:38 CET 2013
        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. -MH

Fri Nov 29 20:17:03 CET 2013
        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. -CG

Tue Nov 26 01:26:15 CET 2013
        Fix race on shutdown signal with thread pool on non-Linux
        systems by signalling n times for n threads. -CG

Sun Nov 24 13:41:15 CET 2013
        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.  -MH/JC

Wed Oct 30 09:34:20 CET 2013
        Fixing issue in PostProcessor when getting partial boundary
        at the beginning, expanding test suite. -CG

Sun Oct 27 15:19:44 CET 2013
"work/libmicrohttpd-0.9.32/ChangeLog" 1318L, 46479C
        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. -MH

Fri Nov 29 20:17:03 CET 2013
        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. -CG

Tue Nov 26 01:26:15 CET 2013
        Fix race on shutdown signal with thread pool on non-Linux
        systems by signalling n times for n threads. -CG

Sun Nov 24 13:41:15 CET 2013
        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.  -MH/JC

Wed Oct 30 09:34:20 CET 2013
        Fixing issue in PostProcessor when getting partial boundary
        at the beginning, expanding test suite. -CG

Sun Oct 27 15:19:44 CET 2013
        Implementing faster processing of upload data in multipart
        encoding (thanks to performance analysis by Adam Homolya). -CG

Thu Oct 24 10:40:03 CEST 2013
        Adding support for connection flow control via
        MHD_suspend_connection and MHD_resume_connection. -CG
2013-12-07 13:34:47 +00:00
adam
f782c4eaa8 Changes 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).
2013-10-22 12:15:53 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
wiz
18459fab3b Update to 0.9.25:
Fri Feb  1 10:19:44 CET 2013
	Handle case where POST data contains "key=" without value
	at the end and is not new-line terminated by invoking the
	callback with the "key" during MHD_destroy_post_processor (#2733). -CG

Wed Jan 30 13:09:30 CET 2013
	Adding more 'const' to allow keeping of reason phrases in ROM.
	(see mailinglist). -CG/MV

Tue Jan 29 21:27:56 CET 2013
	Make code work with PlibC 0.1.7 (which removed plibc_init_utf8).
	Only relevant for W32. Fixes #2734. -CG

Sat Jan 26 21:26:48 CET 2013
	Fixing regression introduced Jan 6 (test on data_size instead
	of total_size. -CG

Fri Jan 11 23:21:55 CET 2013
	Also return MHD_YES from MHD_destroy_post_processor if
	we did not get '\r\n' in the upload. -CG

Sun Jan  6 21:10:13 CET 2013
	Enable use of "MHD_create_response_from_callback" with
	body size of zero. -CG
2013-02-06 07:42:05 +00:00
wiz
9059f890a8 Update to 0.9.24:
Tue Dec 25 16:16:30 CET 2012
	Releasing libmicrohttpd 0.9.24. -CG

Tue Dec 18 21:18:11 CET 2012
	Given both 'chunked' encoding and 'content-length',
	ignore the 'content-length' header as per RFC. -ES

Thu Dec  6 10:14:44 CET 2012
	Force adding "Connection: close" header to response if
	client asked for connection to be closed (so far, we
	did close the connection, but did not send the
	"Connection: close" header explicitly, which some clients
	seem to dislike. (See discussion on mailinglist).
	Also, if there is already a transfer-encoding other
	than 'chunked' set by the application, we also now close
	the connection if the response is of unknown size. -CG

Wed Dec  5 19:22:26 CET 2012
	Fixing parameter loss of POST parameters with IE8 and Chrome
	in the PostProcessor as the code failed to properly handle
	partial data. -MM
2013-01-06 01:14:54 +00:00
obache
64deda1dc9 recursive bump from cyrus-sasl libsasl2 shlib major bump. 2012-12-16 01:51:57 +00:00
wiz
c265d381e2 Update to 0.9.23:
Fri Nov  9 21:36:46 CET 2012
	Releasing libmicrohttpd 0.9.23. -CG

Thu Nov  8 22:32:59 CET 2012
	Ship our own version of tsearch and friends if not provided by platform,
	so that MHD works nicely on Android. -JJ

Mon Oct 22 13:05:01 CEST 2012
	Immediately do a second read if we get a full buffer from
	TLS as there might be more data in the TLS buffers even if
	there is no activity on the socket. -CG

Tue Oct 16 01:33:55 CEST 2012
	Consistently use "#ifdef" and "#ifndef" WINDOWS, and not
	sometimes "#if". -CG
2012-12-09 15:17:16 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
obache
c580487448 missing parts of recursive revbump for gnutls update. 2012-09-23 10:47:45 +00:00
wiz
1e6b0ad2ab Update to 0.9.22:
Releasing libmicrohttpd 0.9.22. -CG

	Adding configure option to allow selecting support for basic
	and digest authentication separately (#2525). -CG

	Fixing URI argument parsing when string contained keys without
	equals sign (i.e. '&bar&') in the middle of the argument (#2531).
	Also replacing 'strstr' with more efficient 'strchr' when
	possible. -CG

	Use "int" instead of "enum X" in 'va_arg' calls to be nice to
	compilers that use 'short' (i.e. 8 or 16 bit) enums but pass
	enums still as "int" in varargs. (See discussion on mailinglist). -CG/MV

	Reduce default size in post processor buffer (for small systems;
	performance impact on large systems should be minimal). -CG/MV
2012-09-02 15:05:32 +00:00
wiz
84bf8f5a6f Update to 0.9.21:
Thu Jul 19 21:48:42 CEST 2012
	Releasing libmicrohttpd 0.9.21. -CG

Thu Jul 19 11:34:50 CEST 2012
	Consistently use 'panic' function instead of ever directly
	calling 'abort ()'.  Eliminating unused mutex in SSL mode.
	Removing check in testcases that fails depending on which
	version of gnuTLS is involved. -CG

Tue Jul 17 23:50:43 CEST 2012
	Stylistic code clean up.  Allowing lookup up of trailing values
	without keys using "MHD_lookup_connection_value" with a key of NULL
	(thus achieving consistency with the existing iterator API). -CG

Tue Jul 17 22:37:05 CEST 2012
	Adding experimental (!) code for MHD operation without listen socket. -CG

Tue Jul 17 22:15:57 CEST 2012
	Making sendfile test pass again on non-W32 systems. -CG

Mon Jul  9 13:43:35 CEST 2012
	Misc changes to allow testcases to pass on W32. -LRN

Sun Jul  8 15:05:31 CEST 2012
	Misc changes to fix build on W32. -LRN

Fri Jun 22 11:31:25 CEST 2012
	Make sure sockets opened by MHD are non-inheritable by default (#2414). -CG

Tue Jun 19 19:44:53 CEST 2012
	Change various uses of time(NULL) to new MHD_monotonic_time() function to
	make timeouts immune to the system real time clock changing. -MC

Tue Jun 12 21:35:00 CEST 2012
	Adding 451 status code. -CG
2012-07-29 20:22:24 +00:00
drochner
bda17f4fc4 PKGREV bumps for gnutls shlib major change 2012-07-02 19:23:29 +00:00
wiz
c8b0b9391a Update to 0.9.20:
Releasing 0.9.20. -CG
	Fixed some testcase build issues with disabled post processor. -CG
	Fixing bug where MHD failed to call connection termination callback
	if a connection either was closed due to read errors or if MHD
	was terminated with certain threading models.  Added new
	termination code MHD_REQUEST_TERMINATED_READ_ERROR for the
	read-termination cause. -CG
	Eliminating code clone in tls connection read/write handlers. -CG
	Making sure that MHD_get_connection_values iterates over the
	headers in the order in which they were received. -CG
	Fixed compilation problem on MinGW. -BS
2012-06-03 21:10:12 +00:00
wiz
924afd1fb7 Update to 0.9.19:
Tue Jan 31 17:50:24 CET 2012
	Releasing 0.9.19. -CG

Mon Jan 30 20:02:34 CET 2012
	Fixed handling of garbage prior to first multipart boundary
	(#2126). -woof

Fri Jan 27 11:00:43 CET 2012
	Fixed postprocessor failure for applications that enclosed boundary
	in quotes (#2120). -woof

Tue Jan 24 16:07:53 CET 2012
	Added configure check for sin_len in 'struct sockaddr' and adding
	code to initialize this field if it exists now. -CG
2012-03-07 15:12:27 +00:00
wiz
c08a0f9bb1 Update to 0.9.18:
Mon Jan 23 14:02:26 CET 2012
	Fixed double-free if specified cipher was not valid (during
	MHD_daemon_start).  Releasing 0.9.18. -CG

Thu Jan 19 22:11:12 CET 2012
	Switch to non-blocking sockets for all systems but Cygwin
	(we already used non-blocking sockets for GNU/Linux); also
	use non-blocking sockets on Cygwin for HTTPS as this is
	required to avoid DoS-by-partial-record via gnutls.  On
	Cygwin, #1824 implies that we need to use blocking sockets
	for HTTP on Cygwin for now. -CG

Thu Jan 19 17:46:05 CET 2012
	Fixing use of uninitialized 'earliest_deadline' variable in
	MHD_get_timeout which can lead to returning an incorrect
	(too early) timeout (#2085). -tclaveirole

Thu Jan 19 13:31:27 CET 2012
	Fixing digest authentication for GET requests with URI arguments
	(#2059). -CG

Sat Jan  7 17:30:48 CET 2012
	Digest authentication expects nonce count in base 16, not base 10
	(#2061). -tclaveirole

Thu Jan  5 22:01:37 CET 2012
	Partial fix for #2059, digest authentication with GET arguments. -CG

Thu Dec  1 15:22:57 CET 2011
	Updated authorization_example.c to actually demonstrate the current
	MHD API. -SG

Mon Nov 21 18:51:30 CET 2011
	Added option to suppress generation of the 'Date:' header to be
	used on embedded systems without RTC.  Documented the new option
	and the configure options. -CG
2012-01-28 10:26:20 +00:00
wiz
3313bfdf3a Update to 0.9.17:
Releasing 0.9.17. -CG

	Fixing return value of MHD_get_timeout if timeouts are not in use.
        (#1914). -rboulton

	Trying to fix accidental addition of a "Connection: close" footer
	under certain (rare) circumstances. -CG

	Small updates to the tutorial.
	Releasing 0.9.16. -CG

	shutdown(RDWR) fails on OS X after shutdown(RD), so only use
	shutdown(WR) if we already closed the socket for reading (otherwise
	OS X might not do shutdown (WR) at all). -CG

	Force adding of 'Connection: close' to the header if we (for whatever
	reason) are shutting down the socket for reading (see also
	#1760). -CG

	Treat EAGAIN the same way as EINTR (helps on W32). -LRN

	Made sockets blocking again for non-Linux platforms as non-blocking
	sockets cause problems (#1824) on Cygwin but offer better performance
	on Linux (see change on August 11 2011). -CG/pross

 	Fixed problems with testcases on W32. -LRN

	Fixed MHD_CONNECTION_OPTION_TIMEOUT for HTTPS (#1811). -CG
2011-11-28 15:04:06 +00:00
wiz
cc97f3d9d9 Update to 0.9.15. Use better master sites.
Wed Sep 28 08:37:55 CEST 2011
	Releasing libmicrohttpd 0.9.15. -CG

Tue Sep 27 13:07:36 CEST 2011
	Added ability to access URL arguments of the form 'url?foo' (without
	'=').  Added testcase and updated documentation accordingly. -CG

Mon Sep 26 21:24:00 CEST 2011
	Only run response cleanup testcase if curl binary was found by
	configure. -CG

Wed Sep 21 09:53:18 CEST 2011
	Reverting to using pipes for signalling select on non-Linux
	platforms where shutdown-on-listen-sockets does not work. -WB/CG

Mon Sep 19 14:06:30 CEST 2011
	Fixing problem introduced with prompt response cleanup code. -CG

Wed Sep 14 13:43:26 CEST 2011
	Fixing minor memory leak if daemon with HTTPS support failed to
	initialize (#1766). -CG

Tue Sep 13 09:47:58 CEST 2011
	Try to release responses more promptly upon connection termination. -CG

Mon Sep 12 10:20:28 CEST 2011
	Releasing libmicrohttpd 0.9.14. -CG

Mon Sep 12 10:05:36 CEST 2011
	Added new function to allow setting of a custom timeout value
	for an individual connection (the MHD_set_connection_option is
	more generic, but this is currently the only use). -CG

Sat Sep 10 07:30:12 CEST 2011
	Documenting that MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT is not
	implemented and will not be implemented, and what to use instead. -CG

Fri Sep  9 13:42:20 CEST 2011
	Added testcase to demonstrate that response cleanup calling is
	working. No bug was found. -CG

Thu Aug 18 11:05:16 CEST 2011
	Fixed bug with wrong state transition if callback returned
	MHD_CONTENT_READER_END_OF_STREAM causing spurious extra callbacks
	to the handler (thanks to Jan Seeger for pointing it out). -CG/JS

Thu Aug 11 11:40:03 CEST 2011
	Changing sockets to be non-blocking as suggested by Eivind Sarto
	on the mailinglist. -CG

Mon Jul 25 16:13:15 CEST 2011
	Added a logo. -CG

Sat Jul 16 22:42:10 CEST 2011
	Change type of nonce to 'unsigned long int' to match return type
	from 'strtoul'.  Fixes ERANGE check which would have previously
	failed. -CG

Wed Jul 13 09:26:17 CEST 2011
	Fixing HTTP error status strings for certain high-numbered status codes.
	Added support for some more (non-standard) status codes.
	Releasing libmicrohttpd 0.9.13. -CG

Thu Jul  7 10:24:20 CEST 2011
	Adding performance measurements. -CG

Thu Jun 23 14:21:13 CEST 2011
	Releasing libmicrohttpd 0.9.12. -CG

Wed Jun 22 14:32:23 CEST 2011
	Force closing connection if either the client asked it or
	if the response contains 'Connection: close' (so far,
	only the client's request was considered). -CG/RV

Wed Jun 22 10:37:35 CEST 2011
	Removing listen socket from poll/select sets in
	MHD_USE_THREAD_PER_CONNECTION mode; using 'shutdown'
	on connection sockets to signal termination instead. -CG

Wed Jun 22 10:25:13 CEST 2011
	Eliminate unnecessary (and badly synchronized) calls to
	MHD_get_timeout in MHD_USE_THREAD_PER_CONNECTION mode.
	Document that this is not acceptable. -CG

Tue Jun 21 13:54:59 CEST 2011
	Fixing tiny memory leak in SSL code from 'gnutls_priority_init'.
	Fixing data race between code doing connection shutdown and
	connection cleanup.
	Changing code to reduce connection cleanup cost from O(n) to O(1).
	Cleaning up logging code around 'connection_close_error'. -CG

Sat Jun 11 13:05:12 CEST 2011
	Replacing use of sscanf by strtoul (#1688). -CG/bplant

Fri Jun  3 15:26:42 CEST 2011
	Adding MHD_CONNECTION_INFO_DAEMON to obtain MHD_Daemon
	responsible for a given connection. -CG

Wed May 25 14:23:20 CEST 2011
	Trying to fix stutter problem on timeout described by
	David Myers on the mailinglist (5/10/2011). -CG

Fri May 20 22:11:55 CEST 2011
	Fixed bug in testcase setup code causing crashes in
	tls_session_timeout_test on some systems.
	Releasing libmicrohttpd 0.9.11. -CG

Fri May 20 19:34:59 CEST 2011
	Fixed bug in parsing multipart/form-data with post processor where
	the code failed to add a 0-terminator in the correct position. -PP

Thu May 12 14:40:46 CEST 2011
	Fixed bug where if multiple HTTP request messages are piped in at once,
	microhttpd would call the handler with the wrong upload_data_size. -HZM

Thu May 12 14:40:08 CEST 2011
	Documented possible issue with off_t being sometimes
	32-bit and sometimes 64-bit depending on #includes. -CG

Sun May  8 21:52:47 CEST 2011
	Allow MHD_SIZE_UNKNOWN to be used in conjunction with
	MHD_create_response_from_fd (fixing #1679). -TG

Wed Apr 27 16:11:18 CEST 2011
	Releasing libmicrohttpd 0.9.10. -CG

Fri Apr  8 11:40:35 CEST 2011
	Workaround for cygwin poll brokenness. -TS

Sun Apr  3 13:56:52 CEST 2011
	Fixing compile error on OS X. -CG

Wed Mar 30 12:56:09 CEST 2011
	Initialize tv_usec in MHD_USE_THREAD_PER_CONNECTION with select
	and per-connection timeout. -CG
2011-10-10 13:04:14 +00:00
abs
b7d4a79df1 ensure libgcrypt & gnutls are picked up 2011-08-31 19:57:50 +00:00
abs
49aecc3364 Added www/libmicrohttpd version 0.9.9
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
 * Four different threading models (select, poll, pthread, thread pool)
 * Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, OS X, W32,
   Symbian and z/OS
 * Support for IPv6
 * Support for SHOUTcast
 * Support for incremental processing of POST data (optional)
 * Support for basic and digest authentication (optional)
 * Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional)
 * Binary is only about 32k (without TLS/SSL support and other optional
   features)
2011-07-09 10:21:41 +00:00