ubus: duplicate request buffer to avoid memory corruption with multiple requests
[project/uhttpd.git] / uhttpd.h
index d6b6985..0137eef 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;