aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-09 23:35:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-09 23:35:45 +0000
commitf38a320e693d951e6bcd0fb2ee4e81855d48a21c (patch)
tree35c5a85b50eb565c3b57409ea589d17e053ec2a1 /package/uhttpd/files/uhttpd.init
parent8067116c10bdf7c34f292ae64c4b6ed6193d3182 (diff)
downloadupstream-f38a320e693d951e6bcd0fb2ee4e81855d48a21c.tar.gz
upstream-f38a320e693d951e6bcd0fb2ee4e81855d48a21c.tar.bz2
upstream-f38a320e693d951e6bcd0fb2ee4e81855d48a21c.zip
uhttpd: protect tcp receive operations with select, make tcp keep-alive optional (#8272)
SVN-Revision: 24952
Diffstat (limited to 'package/uhttpd/files/uhttpd.init')
-rwxr-xr-xpackage/uhttpd/files/uhttpd.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init
index f8f1754e90..069e16fff1 100755
--- a/package/uhttpd/files/uhttpd.init
+++ b/package/uhttpd/files/uhttpd.init
@@ -66,6 +66,7 @@ start_instance()
append_arg "$cfg" lua_handler "-L"
append_arg "$cfg" script_timeout "-t"
append_arg "$cfg" network_timeout "-T"
+ append_arg "$cfg" tcp_keepalive "-A"
append_arg "$cfg" error_page "-E"
append_arg "$cfg" index_page "-I"