]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/graphs/tools/uriSetQueue.ml
...
[helm.git] / daemons / graphs / tools / uriSetQueue.ml
index 43027580016fe58101457ccc8ae38398ff8f0e8c..e55fcd2142fee8256d9008c45116665005630828 100644 (file)
@@ -185,6 +185,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 ~auto_close:true ~callback () in
+Http_daemon.main d_spec;
 printf "%s is terminating, bye!\n" daemon_name