summaryrefslogtreecommitdiff
path: root/package/uhttpd/src/uhttpd.c
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 23:44:30 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 23:44:30 +0000
commit01658f6e25197d603a1fcd0c14eda097316bf5a2 (patch)
tree6406665dd2fa6a42a3150431a18ab5b720b6ade8 /package/uhttpd/src/uhttpd.c
parent8715e7dec27f9e19f44f885b58d97c16afdb62ef (diff)
[package] uhttpd:
- abort file serving if client connection is lost (#7742) - don't send bad request headers twice git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/src/uhttpd.c')
-rw-r--r--package/uhttpd/src/uhttpd.c7
1 files changed, 0 insertions, 7 deletions
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 )