summaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.config
diff options
context:
space:
mode:
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