summaryrefslogtreecommitdiff
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, 0 insertions, 5 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index f973c93e..dee41218 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3460,11 +3460,6 @@ parse_connection_headers (struct MHD_Connection *connection)
NULL,
NULL)) )
{
- enum MHD_Result iret;
-
- /* die, http 1.1 request without host and we are pedantic */
- connection->stop_with_error = true;
- connection->state = MHD_CONNECTION_FULL_REQ_RECEIVED;
#ifdef HAVE_MESSAGES
MHD_DLOG (connection->daemon,
_ ("Received HTTP/1.1 request without `Host' header.\n"));