aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 99f0e997..4814b3c6 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -776,6 +776,15 @@ in header field names. This is disallowed by the standard.
776It is not recommended to set it to -1 on publicly available servers as 776It is not recommended to set it to -1 on publicly available servers as
777it may potentially lower level of protection. 777it may potentially lower level of protection.
778 778
779@item MHD_OPTION_SERVER_INSANITY
780@cindex testing
781Allows the application to disable certain sanity precautions in MHD. With
782these, the client can break the HTTP protocol, so this should never be used in
783production. The options are, however, useful for testing HTTP clients against
784"broken" server implementations. This argument must be followed by an
785@code{unsigned int}, corresponding to an @code{enum MHD_DisableSanityCheck}.
786
787Right now, no sanity checks can be disabled.
779 788
780@item MHD_OPTION_SOCK_ADDR 789@item MHD_OPTION_SOCK_ADDR
781@cindex bind, restricting bind 790@cindex bind, restricting bind
@@ -1207,6 +1216,11 @@ GET / HTTP/1.1
1207 1216
1208as the ``Host'' header is missing and is mandatory in HTTP 1.1, but it 1217as the ``Host'' header is missing and is mandatory in HTTP 1.1, but it
1209should succeed when interpreted with HTTP 1.0. 1218should succeed when interpreted with HTTP 1.0.
1219
1220@item MHD_RF_INSANITY_HEADER_CONTENT_LENGTH
1221Disable sanity check preventing clients from manually
1222setting the HTTP content length option.
1223
1210@end table 1224@end table
1211@end deftp 1225@end deftp
1212 1226