summaryrefslogtreecommitdiff
path: root/lua.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-19 18:30:23 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-19 18:30:23 +0100
commit78f9f35e22c60d5748f0d69a202ca541c517f0bb (patch)
treee9be1da7f35f96d8b3bb3232cedc9a8324e3e709 /lua.c
parent9cfe019ff4b6637e2bb7fbf5fc8db37abdd3c569 (diff)
add support for deferring script requests, limit maximum number of script calls to 3, maximum number of connections to 100
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'lua.c')
-rw-r--r--lua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua.c b/lua.c
index 6bf5c24..c6f27e9 100644
--- a/lua.c
+++ b/lua.c
@@ -280,6 +280,7 @@ static bool check_lua_url(const char *url)
}
static struct dispatch_handler lua_dispatch = {
+ .script = true,
.check_url = check_lua_url,
.handle_request = lua_handle_request,
};