On Fri, 7 Jun 2002, Stas Bekman wrote: > what's the plan for PerlCleanupHandler in 2.0? (the usual question of > whether to document it or not :)
plan is to add support for it. > I understand that in 2.0 since now we have a pool that gets destroyed at > the end of each request, we simply use: > > $r->pool->cleanup_register(\&cleanup_callback, $data); um, that has always been in apache. only difference in modperl is that we now expose the $r->pool and support the data arg. so the above is used instead of the 1.x $r->register_cleanup > as a perlcleanup handler. So implementing PerlCleanupHandler can > actually be implemented as post_read_request handler which runs the > above code, right? of course must be inserted as APR_HOOK_FIRST. no. it would be done in the same places as 1.x. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
