X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=DEVEL%2Focaml-http%2Fhttp_types.mli;h=7206d18dce28c3a59c09a85cbf365643c0ab3ffd;hb=f084490a318c45b1a4090a85119f54c463aec063;hp=8d58326550bfac4d54564fde11a17d9789ae5837;hpb=d17988855a2e85dc2db641d11ce481c266038ef3;p=helm.git diff --git a/DEVEL/ocaml-http/http_types.mli b/DEVEL/ocaml-http/http_types.mli index 8d5832655..7206d18dc 100644 --- a/DEVEL/ocaml-http/http_types.mli +++ b/DEVEL/ocaml-http/http_types.mli @@ -418,6 +418,10 @@ type daemon_spec = { (** timeout in seconds after which an incoming HTTP request will be * terminated closing the corresponding TCP connection; None disable the * timeout *) + auto_close: bool; + (** whether ocaml-http will automatically close the connection with the + * client after callback has completed its execution. If set to true, close + * will be attempted no matter if the callback raises an exception or not *) } (** {2 OO representation of other HTTP entities} *)