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 /cgi.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 'cgi.c')
-rw-r--r-- | cgi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -107,6 +107,7 @@ static bool check_cgi_path(struct path_info *pi, const char *url) } struct dispatch_handler cgi_dispatch = { + .script = true, .check_path = check_cgi_path, .handle_request = cgi_handle_request, }; |