httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <>
Subject Re: New post-log-transaction hook?
Date Mon, 17 Sep 2001 23:11:58 GMT
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.


> 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
Covalent Technologies

View raw message