diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-15 19:46:35 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-15 19:46:35 +0000 |
commit | 4f3f63bb6dce2dbe9be307e85de8aa5b24b841d7 (patch) | |
tree | 3246674ece88f59cd222efa335eb60e80385192e /uhttpd.h | |
parent | ff804c484a8459921497e70488a6347ebba481bd (diff) | |
download | uhttpd-4f3f63bb6dce2dbe9be307e85de8aa5b24b841d7.tar.gz |
[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/package/uhttpd/src@20883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |