From f38a320e693d951e6bcd0fb2ee4e81855d48a21c Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 9 Jan 2011 23:35:45 +0000 Subject: uhttpd: protect tcp receive operations with select, make tcp keep-alive optional (#8272) SVN-Revision: 24952 --- package/uhttpd/files/uhttpd.config | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/uhttpd/files/uhttpd.config') diff --git a/package/uhttpd/files/uhttpd.config b/package/uhttpd/files/uhttpd.config index a29910a..08ca5e5 100644 --- a/package/uhttpd/files/uhttpd.config +++ b/package/uhttpd/files/uhttpd.config @@ -51,6 +51,13 @@ config uhttpd main # request process. option network_timeout 30 + # TCP Keep-Alive, send periodic keep-alive probes + # over established connections to detect dead peers. + # The value is given in seconds to specify the + # interval between subsequent probes. + # Setting this to 0 will disable TCP keep-alive. + option tcp_keepalive 1 + # Basic auth realm, defaults to local hostname # option realm OpenWrt -- cgit v1.1