diff options
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 14 |
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. | |||
776 | It is not recommended to set it to -1 on publicly available servers as | 776 | It is not recommended to set it to -1 on publicly available servers as |
777 | it may potentially lower level of protection. | 777 | it may potentially lower level of protection. |
778 | 778 | ||
779 | @item MHD_OPTION_SERVER_INSANITY | ||
780 | @cindex testing | ||
781 | Allows the application to disable certain sanity precautions in MHD. With | ||
782 | these, the client can break the HTTP protocol, so this should never be used in | ||
783 | production. 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 | |||
787 | Right 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 | ||
1208 | as the ``Host'' header is missing and is mandatory in HTTP 1.1, but it | 1217 | as the ``Host'' header is missing and is mandatory in HTTP 1.1, but it |
1209 | should succeed when interpreted with HTTP 1.0. | 1218 | should succeed when interpreted with HTTP 1.0. |
1219 | |||
1220 | @item MHD_RF_INSANITY_HEADER_CONTENT_LENGTH | ||
1221 | Disable sanity check preventing clients from manually | ||
1222 | setting the HTTP content length option. | ||
1223 | |||
1210 | @end table | 1224 | @end table |
1211 | @end deftp | 1225 | @end deftp |
1212 | 1226 | ||