summaryrefslogtreecommitdiff
path: root/cgi.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 /cgi.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 'cgi.c')
-rw-r--r--cgi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgi.c b/cgi.c
index 7b47e7d..c4438b0 100644
--- a/cgi.c
+++ b/cgi.c
@@ -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,
};