]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/rdfly/rdfly.ml
added metas local context maction: ?n[...]
[helm.git] / daemons / rdfly / rdfly.ml
index b9a79d1397da4941f444b678bc6d62d04322e995..8dbb6b051c484a48101d68f590a3adeb18c87d75 100644 (file)
@@ -183,8 +183,10 @@ let callback (req: Http_types.request) ch =
 let main () =
   Sys.catch_break true;
   try
-    Http_daemon.start'
-      ~timeout:(Some 600) ~port:daemonport callback
+    let d_spec =
+      Http_daemon.daemon_spec ~timeout:(Some 600) ~port:daemonport ~callback ~auto_close:true ()
+    in
+    Http_daemon.main d_spec
   with Sys.Break -> ()
 in