aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-17 13:06:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-10-17 13:06:22 +0300
commitd7786168efa7b2484a01bb30b6eec6339f6058cd (patch)
tree9b9733d270ae632f93ff02a4fcd05bd63b176e5c
parentec89305a37db6a39010b8311b8e7a8608621362d (diff)
downloadlibmicrohttpd-d7786168efa7b2484a01bb30b6eec6339f6058cd.tar.gz
libmicrohttpd-d7786168efa7b2484a01bb30b6eec6339f6058cd.zip
Removed double close of connection with error
-rw-r--r--src/microhttpd/connection.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 654e4192..da3fc1df 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3300,9 +3300,6 @@ process_header_line (struct MHD_Connection *connection,
3300 if (NULL == colon) 3300 if (NULL == colon)
3301 { 3301 {
3302 /* error in header line, die hard */ 3302 /* error in header line, die hard */
3303 CONNECTION_CLOSE_ERROR (connection,
3304 _ (
3305 "Received malformed line (no colon). Closing connection."));
3306 return MHD_NO; 3303 return MHD_NO;
3307 } 3304 }
3308 if (-1 >= connection->daemon->strict_for_client) 3305 if (-1 >= connection->daemon->strict_for_client)