httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Travis <jtra...@covalent.net>
Subject Re: New post-log-transaction hook?
Date Mon, 17 Sep 2001 23:32:33 GMT
I tried setting keepalive == 0 in the handler, and doing my ju-ju in 
the log_transaction phase.  The client was still hanging around.

-- Jon


On Mon, Sep 17, 2001 at 04:11:58PM -0700, Ryan Bloom wrote:
> On Monday 17 September 2001 03:52 pm, Jon Travis wrote:
> 
> Why can't you do it in the log_transaction phase.  Assuming this is
> not a keepalive connection, the client will be gone by the time that
> phase is run.  If this is a keep-alive transaction, then you won't
> save anything by adding another phase.
> 
> Ryan
> 
> > I've got a bit of code that needs to run after a connection to a client
> > has been closed.  Right now I can (kind of) spoof this by setting the
> > keepalive for the client to 0, and registering a cleanup on the
> > request_req pool.  Unfortunately the code in there is somewhat bulky,
> > so any subsequent cleanups that it registers will never get called
> > (apparently registering a cleanup within a cleanup no workie).
> >
> > I'd like to propose a new hook which gets run after connection to
> > the client has been closed.  (in my case, I run some cleanup code
> > which can take a while, and would like the client to be on its way).
> >
> > Any thoughts?
> >
> > -- Jon
> 
> -- 
> 
> ______________________________________________________________
> Ryan Bloom				rbb@apache.org
> Covalent Technologies			rbb@covalent.net
> --------------------------------------------------------------

Mime
View raw message