X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Frdfly%2Frdfly.ml;h=8dbb6b051c484a48101d68f590a3adeb18c87d75;hb=026529fe836637b0e0909ceb4f6b2cc9e178eaec;hp=b9a79d1397da4941f444b678bc6d62d04322e995;hpb=8feb1cda5703daa4371c556593bab63514423a58;p=helm.git diff --git a/daemons/rdfly/rdfly.ml b/daemons/rdfly/rdfly.ml index b9a79d139..8dbb6b051 100644 --- a/daemons/rdfly/rdfly.ml +++ b/daemons/rdfly/rdfly.ml @@ -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