libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 5d195d92895fe87b8c769a126e6cb86f1c613922
parent 159bbfd5c2057774e1305eef9ad1ec0611575c7f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Fri, 27 Oct 2023 17:04:25 +0300

microhttpd.h: updated doxy for MHD_USE_PEDANTIC_CHECKS

Diffstat:
Msrc/include/microhttpd.h | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -1316,12 +1316,9 @@ enum MHD_FLAG /** * Be pedantic about the protocol (as opposed to as tolerant as - * possible). Specifically, at the moment, this flag causes MHD to - * reject HTTP 1.1 connections without a "Host" header. This is - * required by the standard, but of course in violation of the "be - * as liberal as possible in what you accept" norm. It is - * recommended to turn this ON if you are testing clients against - * MHD, and OFF in production. + * possible). + * This flag is equivalent to setting 1 as #MHD_OPTION_CLIENT_DISCIPLINE_LVL + * value. * @sa #MHD_OPTION_CLIENT_DISCIPLINE_LVL */ MHD_USE_PEDANTIC_CHECKS = 32,