summaryrefslogtreecommitdiff
path: root/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
commit504cb78f1c16ab8b4595a24400b58d167cfbc7a1 (patch)
treeaa7dc4c7cd4873094b148de96f128a61922e29b8 /uhttpd.c
parent262ee5065c716d2b2c4963ce024b9471f3d6f0f5 (diff)
downloaduhttpd-504cb78f1c16ab8b4595a24400b58d167cfbc7a1.tar.gz
[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/package/uhttpd/src@22602 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.c')
-rw-r--r--uhttpd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/uhttpd.c b/uhttpd.c
index be88247..247eb79 100644
--- a/uhttpd.c
+++ b/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 )