diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-05 19:23:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-05 19:23:26 +0200 |
commit | 0db81a9248b12abc74f153ebd642441d0f9c3e58 (patch) | |
tree | 01406d248d24a802445824ffda019200ce203ab2 /doc | |
parent | bc8e12c8379d7bf1d99bf67260bcefadd77852a8 (diff) | |
download | libmicrohttpd-0db81a9248b12abc74f153ebd642441d0f9c3e58.tar.gz libmicrohttpd-0db81a9248b12abc74f153ebd642441d0f9c3e58.zip |
fix #5411
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libmicrohttpd.texi | 15 |
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 |
876 | Use pre-shared key for TLS credentials. | 876 | Use pre-shared key for TLS credentials. |
877 | Pass a pointer to callback of type | 877 | Pass a pointer to callback of type |
878 | @code{MHD_PskServerCredentialsCallback} and a closure. | 878 | @code{MHD_PskServerCredentialsCallback} and a closure. |
879 | The function will be called to | 879 | The function will be called to |
880 | retrieve the shared key for a given username. | 880 | retrieve 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}. | |||
2050 | Notice that the strings must not hold newlines, carriage returns or tab | 2050 | Notice that the strings must not hold newlines, carriage returns or tab |
2051 | chars. | 2051 | chars. |
2052 | 2052 | ||
2053 | MHD_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 | ||
2056 | that usually MHD will pick the transfer encoding correctly | ||
2057 | automatically, but applications can use the header to force a | ||
2058 | particular behavior. | ||
2059 | |||
2060 | MHD_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 | |||
2053 | Return @code{MHD_NO} on error (i.e. invalid header or content format or | 2064 | Return @code{MHD_NO} on error (i.e. invalid header or content format or |
2054 | memory allocation error). | 2065 | memory allocation error). |
2055 | @end deftypefun | 2066 | @end deftypefun |