httpd-dev mailing list archives

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

Mime
View raw message