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 | 9873985c21ba69367f6a8d0b0ce45b066b46c95f (patch) | |
tree | 6406665dd2fa6a42a3150431a18ab5b720b6ade8 /package/uhttpd/src/uhttpd.c | |
parent | 513f7cec0dc7a5e6f74811845b5af4c1357e5919 (diff) | |
download | upstream-9873985c21ba69367f6a8d0b0ce45b066b46c95f.tar.gz upstream-9873985c21ba69367f6a8d0b0ce45b066b46c95f.tar.bz2 upstream-9873985c21ba69367f6a8d0b0ce45b066b46c95f.zip |
[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.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 ) |