httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: [PATCH] post_connection hook
Date Thu, 14 Nov 2002 01:43:05 GMT
James Ponder <> 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 |
Born in Roswell... married an alien...

View raw message