summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-19 19:06:25 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-19 19:31:21 +0100
commit3560e89406c81814254bdb45db19498387265cb7 (patch)
tree7f59528922a1f9c4c1d5f1e5d8823df02d8b965a /uhttpd.h
parent78f9f35e22c60d5748f0d69a202ca541c517f0bb (diff)
implement support for script timeout for cgi/lua
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 807070c..c4afee8 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -157,6 +157,7 @@ struct relay {
};
struct dispatch_proc {
+ struct uloop_timeout timeout;
struct blob_buf hdr;
struct uloop_fd wrfd;
struct relay r;
@@ -286,6 +287,7 @@ void uh_dispatch_add(struct dispatch_handler *d);
void uh_relay_open(struct client *cl, struct relay *r, int fd, int pid);
void uh_relay_close(struct relay *r, int ret);
void uh_relay_free(struct relay *r);
+void uh_relay_kill(struct client *cl, struct relay *r);
struct env_var *uh_get_process_vars(struct client *cl, struct path_info *pi);
bool uh_create_process(struct client *cl, struct path_info *pi, char *url,