uhttpd: protect tcp receive operations with select, make tcp keep-alive optional (#8272)

SVN-Revision: 24952
This commit is contained in:
Jo-Philipp Wich
2011-01-09 23:35:45 +00:00
parent 8067116c10
commit f38a320e69
6 changed files with 56 additions and 24 deletions

View File

@@ -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