uhttpd: protect tcp receive operations with select, make tcp keep-alive optional...
[openwrt/openwrt.git] / package / uhttpd / files / uhttpd.init
index f8f1754e9065b7587b961fb4345a45bda2d8079b..069e16fff1ca769028d98764e615294230a2ade9 100755 (executable)
@@ -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"