Re: Stacked Handlers Execution Chain

2003-02-01 Thread mail
Yes, with the newest cvs, it works like expected! Thank you all for your help! Helmut --On Mittwoch, 29. Januar 2003 12:05 +1100 Stas Bekman [EMAIL PROTECTED] wrote: Try again with the current cvs. You can look at the test t/hooks/TestHooks/stacked_handlers.pm which aborts the execution chain

Re: Stacked Handlers Execution Chain

2003-01-29 Thread Geoffrey Young
however, DONE is special - it indicates that all content has been sent and the request cycle should proceed straight to the logging phase. from a handler perspective, DONE behaves the same as an error code - it terminates the request cycle. But the book doesn't say that DONE does break

Stacked Handlers Execution Chain

2003-01-28 Thread Helmut Zeilinger
Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED, FORBIDDEN, 404) the handler1 is still executed.

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Geoffrey Young
Helmut Zeilinger wrote: Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED, FORBIDDEN, 404) the

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Geoffrey Young wrote: Helmut Zeilinger wrote: Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED,

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Try again with the current cvs. You can look at the test t/hooks/TestHooks/stacked_handlers.pm which aborts the execution chain when Apache::DONE is returned. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Geoffrey Young
First of all let's clear up the 1.0 side: Quoting the eagle book: The exception to this rule [all handlers will run] is if one of the handlers in the series returns an error code (anything other than OK, DECLINED, or DONE) Though the code does *not* check for DONE: mod_perl.c:1375

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Geoffrey Young wrote: First of all let's clear up the 1.0 side: Quoting the eagle book: The exception to this rule [all handlers will run] is if one of the handlers in the series returns an error code (anything other than OK, DECLINED, or DONE) Though the code does *not* check for