From 20ef055c2f698618142a280d5cbc010acacfd651 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 15 Apr 2010 19:46:35 +0000 Subject: 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 --- package/uhttpd/src/uhttpd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/uhttpd/src/uhttpd.h') 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 #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.3