libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4
parent 14d85da79f496b22e074ab22ad529529b58639ca
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 24 Nov 2017 20:33:43 +0100

releasing libmicrohttpd 0.9.56

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 14+++++++-------
Mdoc/doxygen/libmicrohttpd.doxy | 70+++++++++++++++++++++++++++++++++++-----------------------------------
Mdoc/libmicrohttpd.texi | 3+++
Msrc/include/microhttpd.h | 2+-
Msrc/microhttpd/internal.c | 2+-
Msrc/microhttpd/internal.h | 3++-
7 files changed, 52 insertions(+), 45 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Fri Nov 24 20:14:02 CET 2017 + Releasing GNU libmicrohttpd 0.9.56. -CG + Thu Nov 23 17:40:00 MSK 2017 Added MHD_FEATURE_SENDFILE enum value and report. -EG diff --git a/configure.ac b/configure.ac @@ -22,14 +22,14 @@ # AC_PREREQ([2.64]) LT_PREREQ([2.4.0]) -AC_INIT([GNU Libmicrohttpd],[0.9.55],[libmicrohttpd@gnu.org]) +AC_INIT([GNU Libmicrohttpd],[0.9.56],[libmicrohttpd@gnu.org]) AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) AC_CONFIG_HEADERS([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) -LIB_VERSION_CURRENT=55 +LIB_VERSION_CURRENT=56 LIB_VERSION_REVISION=0 -LIB_VERSION_AGE=43 +LIB_VERSION_AGE=44 AC_SUBST(LIB_VERSION_CURRENT) AC_SUBST(LIB_VERSION_REVISION) AC_SUBST(LIB_VERSION_AGE) @@ -770,7 +770,7 @@ AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_CHECK_DECLS([getsockname], [ - AC_CHECK_FUNCS([getsockname], + AC_CHECK_FUNCS([getsockname], [ AC_CACHE_CHECK([[whether getsockname() is usable]], [[mhc_cv_getsockname_usable]], [ @@ -1273,7 +1273,7 @@ ssize_t sendfile(int, int, off_t*, size_t); AC_DEFINE([HAVE_LINUX_SENDFILE], [1], [Define to 1 if you have linux-style sendfile(2).]) found_sendfile="yes, Linux-style" AC_MSG_RESULT([[yes]]) - AC_CHECK_FUNCS([sendfile64]) + AC_CHECK_FUNCS([sendfile64]) ], [AC_MSG_RESULT([[no]]) ] @@ -1398,7 +1398,7 @@ ssize_t sendfile(int out_fd, int in_fd, MHD_LIBDEPS="-lsendfile $MHD_LIBDEPS" MHD_LIBDEPS_PKGCFG="-lsendfile $MHD_LIBDEPS_PKGCFG" AC_MSG_RESULT([[yes]]) - AC_CHECK_FUNCS([sendfile64]) + AC_CHECK_FUNCS([sendfile64]) ], [AC_MSG_RESULT([[no]]) ] @@ -1575,7 +1575,7 @@ choke me now have_gnutls=no ]) - AS_IF([test "x$have_gnutls" != "xyes"], + AS_IF([test "x$have_gnutls" != "xyes"], [ AC_MSG_WARN([pkg-config reports that GnuTLS is present, but GnuTLS can't be used]) AS_UNSET([GNUTLS_CPPFLAGS]) diff --git a/doc/doxygen/libmicrohttpd.doxy b/doc/doxygen/libmicrohttpd.doxy @@ -35,7 +35,7 @@ MULTILINE_CPP_IS_BRIEF = NO INHERIT_DOCS = NO SEPARATE_MEMBER_PAGES = NO TAB_SIZE = 8 -ALIASES = +ALIASES = OPTIMIZE_OUTPUT_FOR_C = YES OPTIMIZE_OUTPUT_JAVA = NO OPTIMIZE_FOR_FORTRAN = NO @@ -72,10 +72,10 @@ GENERATE_TODOLIST = NO GENERATE_TESTLIST = NO GENERATE_BUGLIST = NO GENERATE_DEPRECATEDLIST= NO -ENABLED_SECTIONS = +ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES -FILE_VERSION_FILTER = +FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- @@ -85,7 +85,7 @@ WARN_IF_UNDOCUMENTED = YES WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = +WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- @@ -94,16 +94,16 @@ INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.h RECURSIVE = YES -EXCLUDE = +EXCLUDE = EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = */test_* */.svn/* */perf_* */tls_test_* */examples/* */testcurl/* */testzzuf/* */platform/* */symbian/* MHD_config.h EXCLUDE_SYMBOLS = MHD_DLOG -EXAMPLE_PATH = +EXAMPLE_PATH = EXAMPLE_PATTERNS = * EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = +IMAGE_PATH = +INPUT_FILTER = +FILTER_PATTERNS = FILTER_SOURCE_FILES = NO #--------------------------------------------------------------------------- # configuration options related to source browsing @@ -121,23 +121,23 @@ VERBATIM_HEADERS = NO #--------------------------------------------------------------------------- ALPHABETICAL_INDEX = YES COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = +IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- GENERATE_HTML = YES HTML_OUTPUT = html HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = GENERATE_HTMLHELP = NO GENERATE_DOCSET = NO DOCSET_FEEDNAME = "Doxygen generated docs" DOCSET_BUNDLE_ID = org.doxygen.Project HTML_DYNAMIC_SECTIONS = NO -CHM_FILE = -HHC_LOCATION = +CHM_FILE = +HHC_LOCATION = GENERATE_CHI = NO BINARY_TOC = NO TOC_EXPAND = NO @@ -154,8 +154,8 @@ LATEX_CMD_NAME = latex MAKEINDEX_CMD_NAME = makeindex COMPACT_LATEX = NO PAPER_TYPE = a4wide -EXTRA_PACKAGES = -LATEX_HEADER = +EXTRA_PACKAGES = +LATEX_HEADER = PDF_HYPERLINKS = YES USE_PDFLATEX = YES LATEX_BATCHMODE = NO @@ -167,8 +167,8 @@ GENERATE_RTF = NO RTF_OUTPUT = rtf COMPACT_RTF = NO RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- @@ -181,8 +181,8 @@ MAN_LINKS = NO #--------------------------------------------------------------------------- GENERATE_XML = NO XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = +XML_SCHEMA = +XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output @@ -194,32 +194,32 @@ GENERATE_AUTOGEN_DEF = NO GENERATE_PERLMOD = NO PERLMOD_LATEX = NO PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = +PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- -# Configuration options related to the preprocessor +# Configuration options related to the preprocessor #--------------------------------------------------------------------------- ENABLE_PREPROCESSING = YES MACRO_EXPANSION = NO EXPAND_ONLY_PREDEF = NO SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = +EXPAND_AS_DEFINED = SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- -# Configuration::additions related to external references +# Configuration::additions related to external references #--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = +TAGFILES = +GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- -# Configuration options related to the dot tool +# Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES -MSCGEN_PATH = +MSCGEN_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = YES CLASS_GRAPH = NO @@ -234,8 +234,8 @@ CALLER_GRAPH = YES GRAPHICAL_HIERARCHY = NO DIRECTORY_GRAPH = YES DOT_IMAGE_FORMAT = png -DOT_PATH = -DOTFILE_DIRS = +DOT_PATH = +DOTFILE_DIRS = DOT_GRAPH_MAX_NODES = 25 MAX_DOT_GRAPH_DEPTH = 2 DOT_TRANSPARENT = YES @@ -243,6 +243,6 @@ DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES DOT_CLEANUP = YES #--------------------------------------------------------------------------- -# Configuration::additions related to the search engine +# Configuration::additions related to the search engine #--------------------------------------------------------------------------- SEARCHENGINE = YES diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi @@ -2994,6 +2994,9 @@ functions @code{MHD_create_post_processor()}, @code{MHD_post_process()}, @code{MHD_destroy_post_processor()} can be used. +@item MHD_FEATURE_SENDFILE +Get whether @code{sendfile()} is supported. + @end table @end deftp diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -126,7 +126,7 @@ typedef intptr_t ssize_t; * Current version of the library. * 0x01093001 = 1.9.30-1. */ -#define MHD_VERSION 0x00095502 +#define MHD_VERSION 0x00095600 /** * MHD-internal return code for "YES". diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c @@ -172,7 +172,7 @@ MHD_http_unescape (char *val) * * @param kind header kind to pass to @a cb * @param connection connection to add headers to - * @param[in|out] args argument URI string (after "?" in URI), + * @param[in,out] args argument URI string (after "?" in URI), * clobbered in the process! * @param cb function to call on each key-value pair found * @param[out] num_headers set to the number of headers found diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h @@ -1910,8 +1910,9 @@ MHD_check_response_header_token_ci (const struct MHD_Response *response, #define MHD_check_response_header_s_token_ci(r,k,tkn) \ MHD_check_response_header_token_ci((r),(k),(tkn),MHD_STATICSTR_LEN_(tkn)) + /** - * Internal version of ::MHD_suspend_connection(). + * Internal version of #MHD_suspend_connection(). * * @remark In thread-per-connection mode: can be called from any thread, * in any other mode: to be called only from thread that process