Re: PerlCleanupHandler semantic?

2007-05-02 Thread Torsten Foertsch
On Wednesday 02 May 2007 14:41, you wrote: > what should the exact semantic of a PerlCleanupHandler be when > PerlInterpScope==handler? > > I am not asking what it is but what it should be. And are cleanups to be run once per request or once per interpreter? Torsten pgp62

PerlCleanupHandler semantic?

2007-05-02 Thread Torsten Foertsch
Hi, what should the exact semantic of a PerlCleanupHandler be when PerlInterpScope==handler? I am not asking what it is but what it should be. A PerlCleanupHandler can be installed in httpd.conf or via $r->add_config or by $r->{push|set}_handlers. a) all cleanup handlers are called wh

Re: threaded server + scope=handler + PerlCleanupHandler: another similar bug

2007-05-01 Thread Torsten Foertsch
nd similar bug. Try $r->push_handlers(PerlCleanupHandler=>'some_named_function') from a TranslationHandler or so. modperl_interp_unselect calls modperl_config_request_cleanup --> modperl_config_request_cleanup --> modperl_callback_per_dir --> modperl_callback_run_handlers

Re: PerlCleanupHandler

2002-06-15 Thread Doug MacEachern
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 r

PerlCleanupHandler

2002-06-07 Thread Stas Bekman
what's the plan for PerlCleanupHandler in 2.0? (the usual question of whether to document it or not :) 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); a