Philippe M. Chiasson wrote:

 Perl(Input|Output)FilterHandler handlers are now always AutoLoaded, as
 if '+' prefix was used. This must be performed to get the access to
 filter attributes long before the filter itself is executed.
 + tests
[...]
  <VirtualHost TestFilter::in_bbs_inject_header>
 -  # must be preloaded so the FilterConnectionHandler attributes will
 -  # be set by the time the filter is inserted into the filter chain
    PerlModule TestFilter::in_bbs_inject_header
    PerlInputFilterHandler TestFilter::in_bbs_inject_header
    <Location /TestFilter__in_bbs_inject_header>

Now that PerlinputFilterHandler automagically preloads the module, shouldn't
the PerlModule line be removed from the tests for clarity/consistency ?

No. It's needed because PerlResponseHandler uses a non-default 'handler' name:


  PerlModule TestFilter::in_bbs_inject_header
  PerlInputFilterHandler TestFilter::in_bbs_inject_header
  <Location /TestFilter__in_bbs_inject_header>
     SetHandler modperl
     PerlResponseHandler TestFilter::in_bbs_inject_header::response
  </Location>

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to