diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 18:30:23 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 18:30:23 +0100 |
commit | 78f9f35e22c60d5748f0d69a202ca541c517f0bb (patch) | |
tree | e9be1da7f35f96d8b3bb3232cedc9a8324e3e709 /lua.c | |
parent | 9cfe019ff4b6637e2bb7fbf5fc8db37abdd3c569 (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, }; |