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 | 3fe0660216685084435ec28804aebab2d0d3a358 (patch) | |
tree | add83536eb3628963124e90e451ebad16f729ada /package/uhttpd/src/uhttpd.h | |
parent | 6e90698fdca225b7d89292ca5102944bc9c6ac02 (diff) | |
download | upstream-3fe0660216685084435ec28804aebab2d0d3a358.tar.gz upstream-3fe0660216685084435ec28804aebab2d0d3a358.tar.bz2 upstream-3fe0660216685084435ec28804aebab2d0d3a358.zip |
[package] 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, ...)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/src/uhttpd.h')
-rw-r--r-- | package/uhttpd/src/uhttpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h index 0e9f1ee886..32e3970072 100644 --- a/package/uhttpd/src/uhttpd.h +++ b/package/uhttpd/src/uhttpd.h @@ -32,7 +32,7 @@ #include <linux/limits.h> #include <netdb.h> #include <ctype.h> - +#include <errno.h> #include <dlfcn.h> @@ -64,6 +64,8 @@ struct config { char docroot[PATH_MAX]; char *realm; char *file; + int no_symlinks; + int network_timeout; #ifdef HAVE_CGI char *cgi_prefix; #endif |