From 4f3f63bb6dce2dbe9be307e85de8aa5b24b841d7 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 15 Apr 2010 19:46:35 +0000 Subject: [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 --- uhttpd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'uhttpd.h') diff --git a/uhttpd.h b/uhttpd.h index 0e9f1ee..32e3970 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -32,7 +32,7 @@ #include #include #include - +#include #include @@ -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 -- cgit v1.2.1