aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-10-05 19:23:26 +0200
committerChristian Grothoff <christian@grothoff.org>2018-10-05 19:23:26 +0200
commit0db81a9248b12abc74f153ebd642441d0f9c3e58 (patch)
tree01406d248d24a802445824ffda019200ce203ab2 /doc
parentbc8e12c8379d7bf1d99bf67260bcefadd77852a8 (diff)
downloadlibmicrohttpd-0db81a9248b12abc74f153ebd642441d0f9c3e58.tar.gz
libmicrohttpd-0db81a9248b12abc74f153ebd642441d0f9c3e58.zip
fix #5411
Diffstat (limited to 'doc')
-rw-r--r--doc/libmicrohttpd.texi15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index d2886a25..b61c94ff 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -874,9 +874,9 @@ or higher.
874@cindex TLS 874@cindex TLS
875@cindex PSK 875@cindex PSK
876Use pre-shared key for TLS credentials. 876Use pre-shared key for TLS credentials.
877Pass a pointer to callback of type 877Pass a pointer to callback of type
878@code{MHD_PskServerCredentialsCallback} and a closure. 878@code{MHD_PskServerCredentialsCallback} and a closure.
879The function will be called to 879The function will be called to
880retrieve the shared key for a given username. 880retrieve the shared key for a given username.
881 881
882@item MHD_OPTION_DIGEST_AUTH_RANDOM 882@item MHD_OPTION_DIGEST_AUTH_RANDOM
@@ -2050,6 +2050,17 @@ duplicated into memory blocks embedded in @var{response}.
2050Notice that the strings must not hold newlines, carriage returns or tab 2050Notice that the strings must not hold newlines, carriage returns or tab
2051chars. 2051chars.
2052 2052
2053MHD_add_response_header() prevents applications from setting a
2054``Transfer-Encoding'' header to values other than ``identity'' or
2055``chunked'' as other transfer encodings are not supported by MHD. Note
2056that usually MHD will pick the transfer encoding correctly
2057automatically, but applications can use the header to force a
2058particular behavior.
2059
2060MHD_add_response_header() also prevents applications from setting a
2061``Content-Length'' header. MHD will automatically set a correct
2062``Content-Length'' header if it is possible and allowed.
2063
2053Return @code{MHD_NO} on error (i.e. invalid header or content format or 2064Return @code{MHD_NO} on error (i.e. invalid header or content format or
2054memory allocation error). 2065memory allocation error).
2055@end deftypefun 2066@end deftypefun