From 3560e89406c81814254bdb45db19498387265cb7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Jan 2013 19:06:25 +0100 Subject: implement support for script timeout for cgi/lua Signed-off-by: Felix Fietkau --- uhttpd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uhttpd.h') 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, -- cgit v1.2.3