diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-27 00:00:33 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-27 00:00:33 +0000 |
commit | 8bd776dcd165ec1b1d21811e642cf6b2b8483567 (patch) | |
tree | bea9734bf2bd993773596f37f2fa87c56516acc4 /uhttpd.h | |
parent | b195c512dd67bae675f26c8414a64031a5edf60f (diff) | |
download | uhttpd-8bd776dcd165ec1b1d21811e642cf6b2b8483567.tar.gz |
[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/package/uhttpd/src@20500 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |