aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 1dbbbd82..2ef0b989 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1430,8 +1430,9 @@ build_header_response (struct MHD_Connection *connection)
1430 (MHD_HTTP_NO_CONTENT != rc) && 1430 (MHD_HTTP_NO_CONTENT != rc) &&
1431 (MHD_HTTP_NOT_MODIFIED != rc) && 1431 (MHD_HTTP_NOT_MODIFIED != rc) &&
1432 (MHD_HTTP_OK <= rc) && 1432 (MHD_HTTP_OK <= rc) &&
1433 (NULL == /* this should always succeed due to check in 1433 (NULL == /* this COULD fail if the check in
1434 MHD_add_response_header() */ 1434 MHD_add_response_header() was bypassed
1435 via #MHD_RF_INSANITY_HEADER_CONTENT_LENGTH */
1435 MHD_get_response_header (response, 1436 MHD_get_response_header (response,
1436 MHD_HTTP_HEADER_CONTENT_LENGTH)) && 1437 MHD_HTTP_HEADER_CONTENT_LENGTH)) &&
1437 (may_add_content_length) && 1438 (may_add_content_length) &&