]> matita.cs.unibo.it Git - helm.git/commitdiff
removed useless dont_fork and obj_foo examples
authorStefano Zacchiroli <zack@upsilon.cc>
Thu, 3 Feb 2005 22:12:53 +0000 (22:12 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Thu, 3 Feb 2005 22:12:53 +0000 (22:12 +0000)
helm/DEVEL/ocaml-http/examples/Makefile
helm/DEVEL/ocaml-http/examples/dont_fork.ml [deleted file]
helm/DEVEL/ocaml-http/examples/obj_foo.ml [deleted file]

index 453776c6104fa2092bb5e73c429e5e2954f2566d..9209563f657e32ca2647c82f0a090a3576491abc 100644 (file)
@@ -11,10 +11,8 @@ EXAMPLES :=  \
        chdir.ml                \
        client_address.ml       \
        damned_recursion.ml     \
-       dont_fork.ml            \
        dump_args.ml            \
        highlander.ml           \
-       obj_foo.ml              \
        oo_daemon.ml            \
        threads.ml              \
        timeout.ml              \
diff --git a/helm/DEVEL/ocaml-http/examples/dont_fork.ml b/helm/DEVEL/ocaml-http/examples/dont_fork.ml
deleted file mode 100644 (file)
index f053554..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-
-(*
-  OCaml HTTP - do it yourself (fully OCaml) HTTP daemon
-
-  Copyright (C) <2002-2004> Stefano Zacchiroli <zack@cs.unibo.it>
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*)
-
-let callback req outchan =
-  Http_daemon.respond_error ~body:"AH AH AH :-P\n" outchan
-in
-Http_daemon.start' ~port:9999 ~mode:`Single ~timeout:(Some 5) callback
diff --git a/helm/DEVEL/ocaml-http/examples/obj_foo.ml b/helm/DEVEL/ocaml-http/examples/obj_foo.ml
deleted file mode 100644 (file)
index 3a69110..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-
-(*
-  OCaml HTTP - do it yourself (fully OCaml) HTTP daemon
-
-  Copyright (C) <2002-2004> Stefano Zacchiroli <zack@cs.unibo.it>
-
-  This program is free software; you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*)
-
-open Http_types;;
-
-let callback (req: request) outchan =
-  Http_daemon.respond_error ~body:(req#param "foo") outchan
-in
-Http_daemon.start' ~port:9999 callback