X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2Fexamples%2Fdont_fork.ml;h=d0e1d91e61531ce49d7fefb774a4348801932915;hb=1c7fb836e2af4f2f3d18afd0396701f2094265ff;hp=a64e661d045528177a8c69d6136ca8bc66697164;hpb=9ccf0bcd417b78840b52662465a6aafa0819ad27;p=helm.git diff --git a/helm/DEVEL/ocaml-http/examples/dont_fork.ml b/helm/DEVEL/ocaml-http/examples/dont_fork.ml index a64e661d0..d0e1d91e6 100644 --- a/helm/DEVEL/ocaml-http/examples/dont_fork.ml +++ b/helm/DEVEL/ocaml-http/examples/dont_fork.ml @@ -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