From: Claudio Sacerdoti Coen Date: Tue, 30 May 2006 08:13:55 +0000 (+0000) Subject: ZACK: ported to the latest ocaml-http API X-Git-Tag: make_still_working~7287 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=76fbeb4764c874e85cb2e07df2226a172a215c55;p=helm.git ZACK: ported to the latest ocaml-http API --- diff --git a/helm/software/daemons/rdfly/rdfly.ml b/helm/software/daemons/rdfly/rdfly.ml index 18c2e1587..54c87b8d8 100644 --- a/helm/software/daemons/rdfly/rdfly.ml +++ b/helm/software/daemons/rdfly/rdfly.ml @@ -188,8 +188,10 @@ let callback req 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 () + in + Http_daemon.main d_spec with Sys.Break -> () in