Stas Bekman wrote:
since in mp2 the cleanup can be registed on any pool and we have the following pools: request, connection, server
we could have a perl directive to register a cleanup callback for the connection callback (of course this can be done from perl already).

people have asked for per-connection cleanups in 1.0


http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-ConnectionCleanup-0.01.tar.gz

so it's probably a good idea.

I don't think we need one for the server pool, since we have PerlChildExit already.

the child exit handler is different than per-server cleanups, right? at least it was in 1.0.


there is a distinct need for both. in particular, per-server cleanups are a good place to re-initialize modules, since that's the place where httpd.conf (and other configs) can be reloaded on HUPs.


we need PerlConnectionCleanupHandler to support cleanup in protocol modules, where PerlCleanupHandler doesn't apply.


And PerlCleanupHandler should be really be now renamed to PerlRequestCleanupHandler (and have PerlCleanupHandler as a backcompat alias).

I like that renaming idea.


--Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to