]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/ocaml-http/examples/dont_fork.ml
- the mathql interpreter is not helm-dependent any more
[helm.git] / helm / DEVEL / ocaml-http / examples / dont_fork.ml
index a64e661d045528177a8c69d6136ca8bc66697164..d0e1d91e61531ce49d7fefb774a4348801932915 100644 (file)
@@ -20,6 +20,6 @@
 *)
 
 let callback req outchan =
-  Http_daemon.respond_error ~body:"AH AH AH :-P" outchan
+  Http_daemon.respond_error ~body:"AH AH AH :-P\n" outchan
 in
-Http_daemon.start' ~port:9999 ~fork:false ~timeout:(Some 5) callback
+Http_daemon.start' ~port:9999 ~mode:`Single ~timeout:(Some 5) callback