lua: fix lua 5.2 compatibility
[project/uhttpd.git] / uhttpd.h
index d6b6985..b289a24 100644 (file)
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -146,9 +146,11 @@ struct env_var {
 struct relay {
        struct ustream_fd sfd;
        struct uloop_process proc;
+       struct uloop_timeout timeout;
        struct client *cl;
 
        bool process_done;
+       bool error;
        int ret;
        int header_ofs;
 
@@ -185,7 +187,6 @@ struct dispatch_ubus {
        struct json_object *jsobj_cur;
        int post_len;
 
-       const char *sid;
        uint32_t obj;
        const char *func;