From 8bd776dcd165ec1b1d21811e642cf6b2b8483567 Mon Sep 17 00:00:00 2001 From: jow Date: Sat, 27 Mar 2010 00:00:33 +0000 Subject: [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 --- uhttpd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'uhttpd.h') diff --git a/uhttpd.h b/uhttpd.h index bb08afa..0e9f1ee 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -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; -- cgit v1.2.1