Re: [mp2 bug] push_handlers(PostConfig...) on vhost is silently ignored

2005-11-24 Thread Philip M. Gollucci
Stas Bekman wrote: Philippe M. Chiasson wrote: [...] Yes, that's obviously why. So, what's the preferred solution ? 1. Just bitch at startup if you try and add PostConfig and OpenLog to a vhost 2. Make it work by: - Keeping track of what vhost these hooks are registered against - Execute

Re: [mp2 bug] push_handlers(PostConfig...) on vhost is silently ignored

2005-11-24 Thread Stas Bekman
Philippe M. Chiasson wrote: [...] Yes, that's obviously why. So, what's the preferred solution ? 1. Just bitch at startup if you try and add PostConfig and OpenLog to a vhost 2. Make it work by: - Keeping track of what vhost these hooks are registered against - Execute them with that correct

Re: [mp2 bug] push_handlers(PostConfig...) on vhost is silently ignored

2005-11-24 Thread Philippe M. Chiasson
Stas Bekman wrote: > Philippe M. Chiasson wrote: > >> Stas Bekman wrote: >> >>> Configuring PostConfig phase via push_handlers on the vhost server is >>> silently ignored under mp2. >>> >>> For example a custom directive handler FooBar: >>> >>> sub FooBar { >>>my ($self, $parms, $arg) = @_; >>

Re: [mp2 bug] push_handlers(PostConfig...) on vhost is silently ignored

2005-11-24 Thread Stas Bekman
Philippe M. Chiasson wrote: Stas Bekman wrote: Configuring PostConfig phase via push_handlers on the vhost server is silently ignored under mp2. For example a custom directive handler FooBar: sub FooBar { my ($self, $parms, $arg) = @_; my $s = $parms->server; # XXX: calling it on th