diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-11 23:44:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-11 23:44:30 +0000 |
commit | 2d175dcdcefdd236336c834fb842ab132ee66d0d (patch) | |
tree | 7e201e521c0f1c5eb8a7ffc7c4f4f28f166c05d3 /package/uhttpd/src/uhttpd.c | |
parent | b36a1274bb97647bd5d457a8f35e54ab8d4d2f14 (diff) | |
download | upstream-2d175dcdcefdd236336c834fb842ab132ee66d0d.tar.gz upstream-2d175dcdcefdd236336c834fb842ab132ee66d0d.tar.bz2 upstream-2d175dcdcefdd236336c834fb842ab132ee66d0d.zip |
uhttpd: - abort file serving if client connection is lost (#7742) - don't send bad request headers twice
SVN-Revision: 22602
Diffstat (limited to 'package/uhttpd/src/uhttpd.c')
-rw-r--r-- | package/uhttpd/src/uhttpd.c | 7 |
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 ) |