diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-15 19:46:35 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-15 19:46:35 +0000 |
commit | 20ef055c2f698618142a280d5cbc010acacfd651 (patch) | |
tree | 3df03f974bf03b35e3f32dbbfed7385272c2d975 /package/uhttpd/files/uhttpd.config | |
parent | a8e20318c5fdb6809892e31cd658d2eda4a9ee2d (diff) | |
download | upstream-20ef055c2f698618142a280d5cbc010acacfd651.tar.gz upstream-20ef055c2f698618142a280d5cbc010acacfd651.tar.bz2 upstream-20ef055c2f698618142a280d5cbc010acacfd651.zip |
uhttpd: - make network timeout configurable, increase default to 30 seconds (#7067) - follow symlinks in docroot and add option to disable that - fix mimetype detection for files with combined extensions (.tar.gz, ...)
SVN-Revision: 20883
Diffstat (limited to 'package/uhttpd/files/uhttpd.config')
-rw-r--r-- | package/uhttpd/files/uhttpd.config | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/uhttpd/files/uhttpd.config b/package/uhttpd/files/uhttpd.config index 79b018cf80..acdd62ea4e 100644 --- a/package/uhttpd/files/uhttpd.config +++ b/package/uhttpd/files/uhttpd.config @@ -29,10 +29,16 @@ config uhttpd main # CGI/Lua timeout, if the called script does not # write data within the given amount of seconds, - # the server will temrinate the request with + # the server will terminate the request with # 504 Gateway Timeout response. option script_timeout 60 + # Network timeout, if the current connection is + # blocked for the specified amount of seconds, + # the server will terminate the associated + # request process. + option network_timeout 30 + # Basic auth realm, defaults to local hostname # option realm OpenWrt |