Geoff,
Here's the relevant note from Doug last August.
Regards,
Christian
-----Original Message-----
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 30, 2000 10:54 PM
To: Geoffrey Young
Cc: '[EMAIL PROTECTED]'
Subject: RE: $r->get_handlers bug/oversight?
i committed 2 small bits of the last patch, adding PerlCleanupHandler to
the {get,set}_handlers table and the $r->get_handler refcnt fix. i put a
new version of the patch against cvs here:
http://perl.apache.org/~dougm/set_handlers.pat
similar to the last, but also deals with
$r->set_handlers(Perl*Handler => undef)
and also allows set_handlers() to change the handlers for the current
phase, something which did not work in the past. one caveat though, the
number of new handlers passed to set_handlers() must be different from the
current number of handlers. you can work around that by adding an extra
dummy DECLINED handler:
$r->set_handlers($callback => [\&DECLINED,
\&one_handler,
\&two_handler]);
it would be great to hear test results from the new patch, but in any case
it probably won't go in until after 1.25.