diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 19:06:25 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-19 19:31:21 +0100 |
commit | 3560e89406c81814254bdb45db19498387265cb7 (patch) | |
tree | 7f59528922a1f9c4c1d5f1e5d8823df02d8b965a /uhttpd.h | |
parent | 78f9f35e22c60d5748f0d69a202ca541c517f0bb (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |