From 2d175dcdcefdd236336c834fb842ab132ee66d0d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 11 Aug 2010 23:44:30 +0000 Subject: uhttpd: - abort file serving if client connection is lost (#7742) - don't send bad request headers twice SVN-Revision: 22602 --- package/uhttpd/src/uhttpd.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/uhttpd/src/uhttpd.c') diff --git a/package/uhttpd/src/uhttpd.c b/package/uhttpd/src/uhttpd.c index be882470ad..247eb79752 100644 --- a/package/uhttpd/src/uhttpd.c +++ b/package/uhttpd/src/uhttpd.c @@ -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 ) -- cgit v1.2.3