]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/graphs/tools/uriSetQueue.ml
ZACK: ported to the latest ocaml-http API
[helm.git] / daemons / graphs / tools / uriSetQueue.ml
index 86bfe35f38c631237c402dddaa73cd4f428e4cbd..9c94d4e9a18a4461a2f678fc59711238f8e7fbdb 100644 (file)
@@ -192,6 +192,7 @@ Helm_registry.load_from configuration_file;
 let port = Helm_registry.get_int "uri_set_queue.port" in
 printf "%s started and listening on port %d\n" daemon_name port;
 flush stdout;
-Http_daemon.start' ~port ~mode:`Thread callback;
+let d_spec = Http_daemon.daemon_spec ~port ~mode:`Thread ~callback () in
+Http_daemon.main d_spec;
 printf "%s is terminating, bye!\n" daemon_name