summaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.config
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-09 23:35:45 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-01-09 23:35:45 +0000
commit6e21adc1e02f89e8b7fd58dd25fed12c35f31caf (patch)
tree8768880835efa6372f319d6285706a31955a8469 /package/uhttpd/files/uhttpd.config
parent13ec8222a8549fb59c73c4abf7a53e7c40d06cc0 (diff)
[package] uhttpd: protect tcp receive operations with select, make tcp keep-alive optional (#8272)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24952 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/files/uhttpd.config')
-rw-r--r--package/uhttpd/files/uhttpd.config7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/uhttpd/files/uhttpd.config b/package/uhttpd/files/uhttpd.config
index a29910a65..08ca5e5e0 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