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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 88b1f21d..def03b68 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1833,6 +1833,15 @@ check_connection_reply (struct MHD_Connection *connection)
1833 "Non-empty response body is ignored and not used.\n"), 1833 "Non-empty response body is ignored and not used.\n"),
1834 (unsigned) (c->responseCode & (~MHD_ICY_FLAG))); 1834 (unsigned) (c->responseCode & (~MHD_ICY_FLAG)));
1835 } 1835 }
1836 if ( (! c->rp_props.use_reply_body_headers) &&
1837 (0 != (r->flags_auto & MHD_RAF_HAS_CONTENT_LENGTH)) )
1838 {
1839 MHD_DLOG (c->daemon,
1840 _ ("This reply with response code %u cannot use reply body. "
1841 "Application defined \"Content-Length\" header violates"
1842 "HTTP specification.\n"),
1843 (unsigned) (c->responseCode & (~MHD_ICY_FLAG)));
1844 }
1836#else 1845#else
1837 (void) c; /* Mute compiler warning */ 1846 (void) c; /* Mute compiler warning */
1838 (void) r; /* Mute compiler warning */ 1847 (void) r; /* Mute compiler warning */