diff options
-rw-r--r-- | src/include/microhttpd.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 738361dd..9fda5b6c 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -1316,12 +1316,9 @@ enum MHD_FLAG | |||
1316 | 1316 | ||
1317 | /** | 1317 | /** |
1318 | * Be pedantic about the protocol (as opposed to as tolerant as | 1318 | * Be pedantic about the protocol (as opposed to as tolerant as |
1319 | * possible). Specifically, at the moment, this flag causes MHD to | 1319 | * possible). |
1320 | * reject HTTP 1.1 connections without a "Host" header. This is | 1320 | * This flag is equivalent to setting 1 as #MHD_OPTION_CLIENT_DISCIPLINE_LVL |
1321 | * required by the standard, but of course in violation of the "be | 1321 | * value. |
1322 | * as liberal as possible in what you accept" norm. It is | ||
1323 | * recommended to turn this ON if you are testing clients against | ||
1324 | * MHD, and OFF in production. | ||
1325 | * @sa #MHD_OPTION_CLIENT_DISCIPLINE_LVL | 1322 | * @sa #MHD_OPTION_CLIENT_DISCIPLINE_LVL |
1326 | */ | 1323 | */ |
1327 | MHD_USE_PEDANTIC_CHECKS = 32, | 1324 | MHD_USE_PEDANTIC_CHECKS = 32, |