From 4fcbae673b97cfb9061aad631b71f30331dcc87f Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Mon, 3 Feb 2003 20:38:11 +0000 Subject: [PATCH] added GPL preamble --- .../ocaml-http/mt/http_threaded_tcp_server.ml | 22 +++++++++++++++++++ .../non_mt/http_threaded_tcp_server.ml | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/helm/DEVEL/ocaml-http/mt/http_threaded_tcp_server.ml b/helm/DEVEL/ocaml-http/mt/http_threaded_tcp_server.ml index 2ae8e8ab7..acdef6105 100644 --- a/helm/DEVEL/ocaml-http/mt/http_threaded_tcp_server.ml +++ b/helm/DEVEL/ocaml-http/mt/http_threaded_tcp_server.ml @@ -1 +1,23 @@ + +(* + OCaml HTTP - do it yourself (fully OCaml) HTTP daemon + + Copyright (C) <2002> Stefano Zacchiroli + + 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 serve callback arg = ignore (Thread.create callback arg) + diff --git a/helm/DEVEL/ocaml-http/non_mt/http_threaded_tcp_server.ml b/helm/DEVEL/ocaml-http/non_mt/http_threaded_tcp_server.ml index 729ceeb4d..9c92d7112 100644 --- a/helm/DEVEL/ocaml-http/non_mt/http_threaded_tcp_server.ml +++ b/helm/DEVEL/ocaml-http/non_mt/http_threaded_tcp_server.ml @@ -1,4 +1,26 @@ + +(* + OCaml HTTP - do it yourself (fully OCaml) HTTP daemon + + Copyright (C) <2002> Stefano Zacchiroli + + 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 serve _ _ = failwith ("Threaded server not supported by the non threaded version " ^ "of ocaml-http, please link against http_mt.cm{,x}a") + -- 2.39.2