X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Focaml-http%2Fhttp_constants.ml;h=3e61e0b61ed736a81e1ae60704b28436bb9c0e9a;hb=e2e8010589204aa937ca4059fc0273c37a5d8bcf;hp=88d8617c9d8d27f07979239f9f208fe25da80062;hpb=a721e08341d8af740c50852ef617d615bcca28b9;p=helm.git diff --git a/helm/DEVEL/ocaml-http/http_constants.ml b/helm/DEVEL/ocaml-http/http_constants.ml index 88d8617c9..3e61e0b61 100644 --- a/helm/DEVEL/ocaml-http/http_constants.ml +++ b/helm/DEVEL/ocaml-http/http_constants.ml @@ -2,7 +2,7 @@ (* OCaml HTTP - do it yourself (fully OCaml) HTTP daemon - Copyright (C) <2002> Stefano Zacchiroli + Copyright (C) <2002-2004> 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 @@ -23,8 +23,12 @@ let version = `HTTP_1_1 ;; let server_string = "OCaml HTTP Daemon" ;; let crlf = "\r\n" ;; -let default_addr = "0.0.0.0" ;; -let default_port = 80 ;; -let default_timeout = 300 ;; -let default_mode = `Fork ;; +let default_addr = "0.0.0.0" +let default_auth = None +let default_callback = fun _ _ -> () +let default_mode = `Fork +let default_port = 80 +let default_root_dir = None +let default_exn_handler = Some (fun exn outchan -> ()) +let default_timeout = Some 300