uhttpd: - abort file serving if client connection is lost (#7742) - don't send bad...
[openwrt/staging/yousong.git] / package / uhttpd / src / uhttpd.c
index be882470ad0b0988605a8e695c3e44488b3f1165..247eb79752fb252c5fe8aa440e92c9122b776941 100644 (file)
@@ -1001,13 +1001,6 @@ int main (int argc, char **argv)
                                                }
                                        }
 
-                                       /* 400 */
-                                       else
-                                       {
-                                               uh_http_sendhf(cl, 400, "Bad Request",
-                                                       "Malformed request received");
-                                       }
-
 #ifdef HAVE_TLS
                                        /* free client tls context */
                                        if( conf.tls )