You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/08/16 05:25:49 UTC

Re: $r->set_handlers behavior?

On Wed, 26 Apr 2000, Geoffrey Young wrote:

> good morning...
> 
> I'm a bit confused about $r->set_handlers and $r->push_handlers behavior.
> Both are listed in the eagle book as being per-request methods, but man
> Apache lists them both as server configuration directives.  I think, though,
> that I'm seeing set_handlers as persisting with the child and push_handlers
> as being per-request.  Personally, I'd rather have set_handlers per-request
> as well for situations where I want to add a handler but reorder it with the
> existing ones as well...

the {get,set}_handlers patch posted earlier should fix this behavior, can
you confirm?  push_handlers() should probably also be implemented in terms
of r->per_request_config, rather than %Apache::PerlStackedHandlers.