diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-27 00:00:33 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-03-27 00:00:33 +0000 |
commit | 99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5 (patch) | |
tree | efa53486b6d67774f4641dea35ec97e78744b298 /package/uhttpd/src/uhttpd.h | |
parent | 78c616da82979a2bbf96a8792680278cf641a23a (diff) | |
download | upstream-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.tar.gz upstream-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.tar.bz2 upstream-99e8e7cf2f2c856ac67b2b0455a8b10b659a1ab5.zip |
[package] uhttpd:
- make script timeout configurable
- catch SIGCHLD to properly interrupt select()
- flag listen and client sockets as close-on-exec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20500 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, 4 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h index bb08afa1a1..0e9f1ee886 100644 --- a/package/uhttpd/src/uhttpd.h +++ b/package/uhttpd/src/uhttpd.h @@ -26,6 +26,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/select.h> +#include <sys/wait.h> #include <netinet/in.h> #include <arpa/inet.h> #include <linux/limits.h> @@ -73,6 +74,9 @@ struct config { void (*lua_close) (lua_State *L); void (*lua_request) (struct client *cl, struct http_request *req, lua_State *L); #endif +#if defined(HAVE_CGI) || defined(HAVE_LUA) + int script_timeout; +#endif #ifdef HAVE_TLS char *cert; char *key; |