aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-24 20:33:43 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-24 20:33:43 +0100
commit59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4 (patch)
tree86f26d8fcf18f909f6f1abc7090f53537939fe06
parent14d85da79f496b22e074ab22ad529529b58639ca (diff)
downloadlibmicrohttpd-59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4.tar.gz
libmicrohttpd-59b4a6a00a00fcd7b985a20e0c8b303b3bf440e4.zip
releasing libmicrohttpd 0.9.56v0.9.56
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac14
-rw-r--r--doc/doxygen/libmicrohttpd.doxy70
-rw-r--r--doc/libmicrohttpd.texi3
-rw-r--r--src/include/microhttpd.h2
-rw-r--r--src/microhttpd/internal.c2
-rw-r--r--src/microhttpd/internal.h3
7 files changed, 52 insertions, 45 deletions
diff --git a/ChangeLog b/ChangeLog
index 99c89d94..a9f25ba0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
1Fri Nov 24 20:14:02 CET 2017
2 Releasing GNU libmicrohttpd 0.9.56. -CG
3
1Thu Nov 23 17:40:00 MSK 2017 4Thu Nov 23 17:40:00 MSK 2017
2 Added MHD_FEATURE_SENDFILE enum value and report. -EG 5 Added MHD_FEATURE_SENDFILE enum value and report. -EG
3 6
diff --git a/configure.ac b/configure.ac
index 7aa620db..865c3b95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,14 +22,14 @@
22# 22#
23AC_PREREQ([2.64]) 23AC_PREREQ([2.64])
24LT_PREREQ([2.4.0]) 24LT_PREREQ([2.4.0])
25AC_INIT([GNU Libmicrohttpd],[0.9.55],[libmicrohttpd@gnu.org]) 25AC_INIT([GNU Libmicrohttpd],[0.9.56],[libmicrohttpd@gnu.org])
26AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) 26AM_INIT_AUTOMAKE([silent-rules] [subdir-objects])
27AC_CONFIG_HEADERS([MHD_config.h]) 27AC_CONFIG_HEADERS([MHD_config.h])
28AC_CONFIG_MACRO_DIR([m4]) 28AC_CONFIG_MACRO_DIR([m4])
29 29
30LIB_VERSION_CURRENT=55 30LIB_VERSION_CURRENT=56
31LIB_VERSION_REVISION=0 31LIB_VERSION_REVISION=0
32LIB_VERSION_AGE=43 32LIB_VERSION_AGE=44
33AC_SUBST(LIB_VERSION_CURRENT) 33AC_SUBST(LIB_VERSION_CURRENT)
34AC_SUBST(LIB_VERSION_REVISION) 34AC_SUBST(LIB_VERSION_REVISION)
35AC_SUBST(LIB_VERSION_AGE) 35AC_SUBST(LIB_VERSION_AGE)
@@ -770,7 +770,7 @@ AC_CHECK_MEMBER([struct sockaddr_in.sin_len],
770 770
771AC_CHECK_DECLS([getsockname], 771AC_CHECK_DECLS([getsockname],
772 [ 772 [
773 AC_CHECK_FUNCS([getsockname], 773 AC_CHECK_FUNCS([getsockname],
774 [ 774 [
775 AC_CACHE_CHECK([[whether getsockname() is usable]], [[mhc_cv_getsockname_usable]], 775 AC_CACHE_CHECK([[whether getsockname() is usable]], [[mhc_cv_getsockname_usable]],
776 [ 776 [
@@ -1273,7 +1273,7 @@ ssize_t sendfile(int, int, off_t*, size_t);
1273 AC_DEFINE([HAVE_LINUX_SENDFILE], [1], [Define to 1 if you have linux-style sendfile(2).]) 1273 AC_DEFINE([HAVE_LINUX_SENDFILE], [1], [Define to 1 if you have linux-style sendfile(2).])
1274 found_sendfile="yes, Linux-style" 1274 found_sendfile="yes, Linux-style"
1275 AC_MSG_RESULT([[yes]]) 1275 AC_MSG_RESULT([[yes]])
1276 AC_CHECK_FUNCS([sendfile64]) 1276 AC_CHECK_FUNCS([sendfile64])
1277 ], 1277 ],
1278 [AC_MSG_RESULT([[no]]) 1278 [AC_MSG_RESULT([[no]])
1279 ] 1279 ]
@@ -1398,7 +1398,7 @@ ssize_t sendfile(int out_fd, int in_fd,
1398 MHD_LIBDEPS="-lsendfile $MHD_LIBDEPS" 1398 MHD_LIBDEPS="-lsendfile $MHD_LIBDEPS"
1399 MHD_LIBDEPS_PKGCFG="-lsendfile $MHD_LIBDEPS_PKGCFG" 1399 MHD_LIBDEPS_PKGCFG="-lsendfile $MHD_LIBDEPS_PKGCFG"
1400 AC_MSG_RESULT([[yes]]) 1400 AC_MSG_RESULT([[yes]])
1401 AC_CHECK_FUNCS([sendfile64]) 1401 AC_CHECK_FUNCS([sendfile64])
1402 ], 1402 ],
1403 [AC_MSG_RESULT([[no]]) 1403 [AC_MSG_RESULT([[no]])
1404 ] 1404 ]
@@ -1575,7 +1575,7 @@ choke me now
1575 have_gnutls=no 1575 have_gnutls=no
1576 ]) 1576 ])
1577 1577
1578 AS_IF([test "x$have_gnutls" != "xyes"], 1578 AS_IF([test "x$have_gnutls" != "xyes"],
1579 [ 1579 [
1580 AC_MSG_WARN([pkg-config reports that GnuTLS is present, but GnuTLS can't be used]) 1580 AC_MSG_WARN([pkg-config reports that GnuTLS is present, but GnuTLS can't be used])
1581 AS_UNSET([GNUTLS_CPPFLAGS]) 1581 AS_UNSET([GNUTLS_CPPFLAGS])
diff --git a/doc/doxygen/libmicrohttpd.doxy b/doc/doxygen/libmicrohttpd.doxy
index bb6bf6b1..69ab9a4d 100644
--- a/doc/doxygen/libmicrohttpd.doxy
+++ b/doc/doxygen/libmicrohttpd.doxy
@@ -35,7 +35,7 @@ MULTILINE_CPP_IS_BRIEF = NO
35INHERIT_DOCS = NO 35INHERIT_DOCS = NO
36SEPARATE_MEMBER_PAGES = NO 36SEPARATE_MEMBER_PAGES = NO
37TAB_SIZE = 8 37TAB_SIZE = 8
38ALIASES = 38ALIASES =
39OPTIMIZE_OUTPUT_FOR_C = YES 39OPTIMIZE_OUTPUT_FOR_C = YES
40OPTIMIZE_OUTPUT_JAVA = NO 40OPTIMIZE_OUTPUT_JAVA = NO
41OPTIMIZE_FOR_FORTRAN = NO 41OPTIMIZE_FOR_FORTRAN = NO
@@ -72,10 +72,10 @@ GENERATE_TODOLIST = NO
72GENERATE_TESTLIST = NO 72GENERATE_TESTLIST = NO
73GENERATE_BUGLIST = NO 73GENERATE_BUGLIST = NO
74GENERATE_DEPRECATEDLIST= NO 74GENERATE_DEPRECATEDLIST= NO
75ENABLED_SECTIONS = 75ENABLED_SECTIONS =
76MAX_INITIALIZER_LINES = 30 76MAX_INITIALIZER_LINES = 30
77SHOW_USED_FILES = YES 77SHOW_USED_FILES = YES
78FILE_VERSION_FILTER = 78FILE_VERSION_FILTER =
79#--------------------------------------------------------------------------- 79#---------------------------------------------------------------------------
80# configuration options related to warning and progress messages 80# configuration options related to warning and progress messages
81#--------------------------------------------------------------------------- 81#---------------------------------------------------------------------------
@@ -85,7 +85,7 @@ WARN_IF_UNDOCUMENTED = YES
85WARN_IF_DOC_ERROR = YES 85WARN_IF_DOC_ERROR = YES
86WARN_NO_PARAMDOC = NO 86WARN_NO_PARAMDOC = NO
87WARN_FORMAT = "$file:$line: $text" 87WARN_FORMAT = "$file:$line: $text"
88WARN_LOGFILE = 88WARN_LOGFILE =
89#--------------------------------------------------------------------------- 89#---------------------------------------------------------------------------
90# configuration options related to the input files 90# configuration options related to the input files
91#--------------------------------------------------------------------------- 91#---------------------------------------------------------------------------
@@ -94,16 +94,16 @@ INPUT_ENCODING = UTF-8
94FILE_PATTERNS = *.c \ 94FILE_PATTERNS = *.c \
95 *.h 95 *.h
96RECURSIVE = YES 96RECURSIVE = YES
97EXCLUDE = 97EXCLUDE =
98EXCLUDE_SYMLINKS = NO 98EXCLUDE_SYMLINKS = NO
99EXCLUDE_PATTERNS = */test_* */.svn/* */perf_* */tls_test_* */examples/* */testcurl/* */testzzuf/* */platform/* */symbian/* MHD_config.h 99EXCLUDE_PATTERNS = */test_* */.svn/* */perf_* */tls_test_* */examples/* */testcurl/* */testzzuf/* */platform/* */symbian/* MHD_config.h
100EXCLUDE_SYMBOLS = MHD_DLOG 100EXCLUDE_SYMBOLS = MHD_DLOG
101EXAMPLE_PATH = 101EXAMPLE_PATH =
102EXAMPLE_PATTERNS = * 102EXAMPLE_PATTERNS = *
103EXAMPLE_RECURSIVE = NO 103EXAMPLE_RECURSIVE = NO
104IMAGE_PATH = 104IMAGE_PATH =
105INPUT_FILTER = 105INPUT_FILTER =
106FILTER_PATTERNS = 106FILTER_PATTERNS =
107FILTER_SOURCE_FILES = NO 107FILTER_SOURCE_FILES = NO
108#--------------------------------------------------------------------------- 108#---------------------------------------------------------------------------
109# configuration options related to source browsing 109# configuration options related to source browsing
@@ -121,23 +121,23 @@ VERBATIM_HEADERS = NO
121#--------------------------------------------------------------------------- 121#---------------------------------------------------------------------------
122ALPHABETICAL_INDEX = YES 122ALPHABETICAL_INDEX = YES
123COLS_IN_ALPHA_INDEX = 5 123COLS_IN_ALPHA_INDEX = 5
124IGNORE_PREFIX = 124IGNORE_PREFIX =
125#--------------------------------------------------------------------------- 125#---------------------------------------------------------------------------
126# configuration options related to the HTML output 126# configuration options related to the HTML output
127#--------------------------------------------------------------------------- 127#---------------------------------------------------------------------------
128GENERATE_HTML = YES 128GENERATE_HTML = YES
129HTML_OUTPUT = html 129HTML_OUTPUT = html
130HTML_FILE_EXTENSION = .html 130HTML_FILE_EXTENSION = .html
131HTML_HEADER = 131HTML_HEADER =
132HTML_FOOTER = 132HTML_FOOTER =
133HTML_STYLESHEET = 133HTML_STYLESHEET =
134GENERATE_HTMLHELP = NO 134GENERATE_HTMLHELP = NO
135GENERATE_DOCSET = NO 135GENERATE_DOCSET = NO
136DOCSET_FEEDNAME = "Doxygen generated docs" 136DOCSET_FEEDNAME = "Doxygen generated docs"
137DOCSET_BUNDLE_ID = org.doxygen.Project 137DOCSET_BUNDLE_ID = org.doxygen.Project
138HTML_DYNAMIC_SECTIONS = NO 138HTML_DYNAMIC_SECTIONS = NO
139CHM_FILE = 139CHM_FILE =
140HHC_LOCATION = 140HHC_LOCATION =
141GENERATE_CHI = NO 141GENERATE_CHI = NO
142BINARY_TOC = NO 142BINARY_TOC = NO
143TOC_EXPAND = NO 143TOC_EXPAND = NO
@@ -154,8 +154,8 @@ LATEX_CMD_NAME = latex
154MAKEINDEX_CMD_NAME = makeindex 154MAKEINDEX_CMD_NAME = makeindex
155COMPACT_LATEX = NO 155COMPACT_LATEX = NO
156PAPER_TYPE = a4wide 156PAPER_TYPE = a4wide
157EXTRA_PACKAGES = 157EXTRA_PACKAGES =
158LATEX_HEADER = 158LATEX_HEADER =
159PDF_HYPERLINKS = YES 159PDF_HYPERLINKS = YES
160USE_PDFLATEX = YES 160USE_PDFLATEX = YES
161LATEX_BATCHMODE = NO 161LATEX_BATCHMODE = NO
@@ -167,8 +167,8 @@ GENERATE_RTF = NO
167RTF_OUTPUT = rtf 167RTF_OUTPUT = rtf
168COMPACT_RTF = NO 168COMPACT_RTF = NO
169RTF_HYPERLINKS = NO 169RTF_HYPERLINKS = NO
170RTF_STYLESHEET_FILE = 170RTF_STYLESHEET_FILE =
171RTF_EXTENSIONS_FILE = 171RTF_EXTENSIONS_FILE =
172#--------------------------------------------------------------------------- 172#---------------------------------------------------------------------------
173# configuration options related to the man page output 173# configuration options related to the man page output
174#--------------------------------------------------------------------------- 174#---------------------------------------------------------------------------
@@ -181,8 +181,8 @@ MAN_LINKS = NO
181#--------------------------------------------------------------------------- 181#---------------------------------------------------------------------------
182GENERATE_XML = NO 182GENERATE_XML = NO
183XML_OUTPUT = xml 183XML_OUTPUT = xml
184XML_SCHEMA = 184XML_SCHEMA =
185XML_DTD = 185XML_DTD =
186XML_PROGRAMLISTING = YES 186XML_PROGRAMLISTING = YES
187#--------------------------------------------------------------------------- 187#---------------------------------------------------------------------------
188# configuration options for the AutoGen Definitions output 188# configuration options for the AutoGen Definitions output
@@ -194,32 +194,32 @@ GENERATE_AUTOGEN_DEF = NO
194GENERATE_PERLMOD = NO 194GENERATE_PERLMOD = NO
195PERLMOD_LATEX = NO 195PERLMOD_LATEX = NO
196PERLMOD_PRETTY = YES 196PERLMOD_PRETTY = YES
197PERLMOD_MAKEVAR_PREFIX = 197PERLMOD_MAKEVAR_PREFIX =
198#--------------------------------------------------------------------------- 198#---------------------------------------------------------------------------
199# Configuration options related to the preprocessor 199# Configuration options related to the preprocessor
200#--------------------------------------------------------------------------- 200#---------------------------------------------------------------------------
201ENABLE_PREPROCESSING = YES 201ENABLE_PREPROCESSING = YES
202MACRO_EXPANSION = NO 202MACRO_EXPANSION = NO
203EXPAND_ONLY_PREDEF = NO 203EXPAND_ONLY_PREDEF = NO
204SEARCH_INCLUDES = YES 204SEARCH_INCLUDES = YES
205INCLUDE_PATH = 205INCLUDE_PATH =
206INCLUDE_FILE_PATTERNS = 206INCLUDE_FILE_PATTERNS =
207PREDEFINED = 207PREDEFINED =
208EXPAND_AS_DEFINED = 208EXPAND_AS_DEFINED =
209SKIP_FUNCTION_MACROS = YES 209SKIP_FUNCTION_MACROS = YES
210#--------------------------------------------------------------------------- 210#---------------------------------------------------------------------------
211# Configuration::additions related to external references 211# Configuration::additions related to external references
212#--------------------------------------------------------------------------- 212#---------------------------------------------------------------------------
213TAGFILES = 213TAGFILES =
214GENERATE_TAGFILE = 214GENERATE_TAGFILE =
215ALLEXTERNALS = NO 215ALLEXTERNALS = NO
216EXTERNAL_GROUPS = YES 216EXTERNAL_GROUPS = YES
217PERL_PATH = /usr/bin/perl 217PERL_PATH = /usr/bin/perl
218#--------------------------------------------------------------------------- 218#---------------------------------------------------------------------------
219# Configuration options related to the dot tool 219# Configuration options related to the dot tool
220#--------------------------------------------------------------------------- 220#---------------------------------------------------------------------------
221CLASS_DIAGRAMS = YES 221CLASS_DIAGRAMS = YES
222MSCGEN_PATH = 222MSCGEN_PATH =
223HIDE_UNDOC_RELATIONS = YES 223HIDE_UNDOC_RELATIONS = YES
224HAVE_DOT = YES 224HAVE_DOT = YES
225CLASS_GRAPH = NO 225CLASS_GRAPH = NO
@@ -234,8 +234,8 @@ CALLER_GRAPH = YES
234GRAPHICAL_HIERARCHY = NO 234GRAPHICAL_HIERARCHY = NO
235DIRECTORY_GRAPH = YES 235DIRECTORY_GRAPH = YES
236DOT_IMAGE_FORMAT = png 236DOT_IMAGE_FORMAT = png
237DOT_PATH = 237DOT_PATH =
238DOTFILE_DIRS = 238DOTFILE_DIRS =
239DOT_GRAPH_MAX_NODES = 25 239DOT_GRAPH_MAX_NODES = 25
240MAX_DOT_GRAPH_DEPTH = 2 240MAX_DOT_GRAPH_DEPTH = 2
241DOT_TRANSPARENT = YES 241DOT_TRANSPARENT = YES
@@ -243,6 +243,6 @@ DOT_MULTI_TARGETS = NO
243GENERATE_LEGEND = YES 243GENERATE_LEGEND = YES
244DOT_CLEANUP = YES 244DOT_CLEANUP = YES
245#--------------------------------------------------------------------------- 245#---------------------------------------------------------------------------
246# Configuration::additions related to the search engine 246# Configuration::additions related to the search engine
247#--------------------------------------------------------------------------- 247#---------------------------------------------------------------------------
248SEARCHENGINE = YES 248SEARCHENGINE = YES
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 2e0f196f..ca6d237c 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -2994,6 +2994,9 @@ functions @code{MHD_create_post_processor()},
2994@code{MHD_post_process()}, @code{MHD_destroy_post_processor()} 2994@code{MHD_post_process()}, @code{MHD_destroy_post_processor()}
2995can be used. 2995can be used.
2996 2996
2997@item MHD_FEATURE_SENDFILE
2998Get whether @code{sendfile()} is supported.
2999
2997@end table 3000@end table
2998@end deftp 3001@end deftp
2999 3002
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index e7d8bf52..24ca49fa 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -126,7 +126,7 @@ typedef intptr_t ssize_t;
126 * Current version of the library. 126 * Current version of the library.
127 * 0x01093001 = 1.9.30-1. 127 * 0x01093001 = 1.9.30-1.
128 */ 128 */
129#define MHD_VERSION 0x00095502 129#define MHD_VERSION 0x00095600
130 130
131/** 131/**
132 * MHD-internal return code for "YES". 132 * MHD-internal return code for "YES".
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
index d6c08967..d2532c54 100644
--- a/src/microhttpd/internal.c
+++ b/src/microhttpd/internal.c
@@ -172,7 +172,7 @@ MHD_http_unescape (char *val)
172 * 172 *
173 * @param kind header kind to pass to @a cb 173 * @param kind header kind to pass to @a cb
174 * @param connection connection to add headers to 174 * @param connection connection to add headers to
175 * @param[in|out] args argument URI string (after "?" in URI), 175 * @param[in,out] args argument URI string (after "?" in URI),
176 * clobbered in the process! 176 * clobbered in the process!
177 * @param cb function to call on each key-value pair found 177 * @param cb function to call on each key-value pair found
178 * @param[out] num_headers set to the number of headers found 178 * @param[out] num_headers set to the number of headers found
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 70566ea1..5668a8f8 100644
--- 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,
1910#define MHD_check_response_header_s_token_ci(r,k,tkn) \ 1910#define MHD_check_response_header_s_token_ci(r,k,tkn) \
1911 MHD_check_response_header_token_ci((r),(k),(tkn),MHD_STATICSTR_LEN_(tkn)) 1911 MHD_check_response_header_token_ci((r),(k),(tkn),MHD_STATICSTR_LEN_(tkn))
1912 1912
1913
1913/** 1914/**
1914 * Internal version of ::MHD_suspend_connection(). 1915 * Internal version of #MHD_suspend_connection().
1915 * 1916 *
1916 * @remark In thread-per-connection mode: can be called from any thread, 1917 * @remark In thread-per-connection mode: can be called from any thread,
1917 * in any other mode: to be called only from thread that process 1918 * in any other mode: to be called only from thread that process