relay: fix close handling
[project/uhttpd.git] / uhttpd.h
index c4afee8ed639c35439e0f204bed0be49fa886de0..59f1565737538c9d7df4a07b1a13f967c5f62da8 100644 (file)
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -66,6 +66,7 @@ struct config {
        int max_connections;
        int http_keepalive;
        int script_timeout;
+       int ubus_noauth;
 };
 
 struct auth_realm {
@@ -145,6 +146,7 @@ struct env_var {
 struct relay {
        struct ustream_fd sfd;
        struct uloop_process proc;
+       struct uloop_timeout timeout;
        struct client *cl;
 
        bool process_done;