James Ponder <[EMAIL PROTECTED]> writes:

> I would like to be able to monitor connection establishment
> (pre_connection) and connection termination (post_connection), however
> only the former hook exists.  I was thinking the best way would be to modify
> ap_process_connection in connection.c to add the post_connection hook, as
> below:

The recommended approach is to register a cleanup with the conn_rec
pool.  When the connection goes away, so does the conn_rec pool, and
your cleanup will then run.

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to