Re: Miscellaneous questions on OCamlNet + news

Christophe TROESTLER <[email protected]> Fri, 30 Jun 2006 17:05:51 +0200 (CEST)
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Organization Universite de Mons-Hainaut (http://math.umh.ac.be/an/)
Message-ID <[email protected]>
On Sat, 24 Jun 2006, Gerd Stolpmann <[email protected]> wrote:
> 
> Check your directory in to gps.dynxs.de

Done.  People are definitely invited to check the code and report
bugs :) In particular, I have an issue with the way AJP handles
reusable connections: if requests follow closely, AJP will reuse the
same connection; however after a timeout (seeminly unrelated to
workers.properties options), AJP will make a new connection and never
reuse the old one (but il will not close it either!).  Does AJP
/requires/ a connector handling multiple connections (FastCGI for
example may use a farm of processes but also works well with a single
sequential one)?  I'll be glad if somebody points out to me the point
I do not get...

> > default exception handler is in place
> 
> But then you can never have backtraces. Maybe one should be able to turn
> this handler on and off:
> 
> try ... with error when !error_pages_enabled -> ...
> 
> This is compatible with backtraces.

Yes, this is a compelling reason.  I have added the field
[default_exn_handler] to the [Netcgi.config] structure which, when
turned false, let the exception stop the program.

> - Debugging: This makes backtraces possible (re-raising the
>   exception is no workaround because it is not recognized by the
>   compiler if too much code is run in the meantime and the stack is
>   destroyed)
> - Modularity: Maybe the surrounding code has already an error page
>   (e.g. the server framework, or think of "nested CGIs" where an
>   outer CGI calls an inner CGI with a faked environment)
> 
> We can reach that by a simple switch variable.

Done.

More later on the other points.

Cheers,
ChriS

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642