summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-17 15:12:46 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-17 15:12:46 +0300
commite33dd19d70dbdb4156f6417b05f76495b2787245 (patch)
treeff9e0abecfb17fb658eb3e3bcc1e3a5a9c8f4fd7
parent3a02f18ca6a66997614cebf1231c86ad33148ad2 (diff)
A missing part for 3a02f18ca6a66997614cebf1231c86ad33148ad2
-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"));