Some of the autoconfig magic starts to create more overhead than it used to safe. e.g. all this magic of t/hooks/TestHooks is no longer useful, as we add more tests and the test names aren't mapping 1:1 to the phase name. So we need to craft <NoAutoConfig>, inline <Location > blocks, etc. e.g the recently added test has:
<NoAutoConfig>
<Location /TestHooks__authen_digest>
require valid-user
AuthType Digest
AuthName "Simple Digest"
PerlAuthenHandler TestHooks::authen_digest
PerlResponseHandler Apache::TestHandler::ok1
SetHandler modperl
</Location>
</NoAutoConfig>


while all is needed is:

    require valid-user
    AuthType Digest
    AuthName "Simple Digest"
    PerlAuthenHandler TestHooks::authen_digest
    PerlResponseHandler Apache::TestHandler::ok1
    SetHandler modperl

but at the moment it doesn't work.

I think we should start stripping those special cases from A-T. Same goes for filters which magically figures out which filter handler to register.

Finally may be we should remove the special handling of t/hook/TestHooks t/protocols/TestProtocols and t/filters/TestFilters and move them all to t/response, but that may be after we move to svn so we don't lose the history.

--
__________________________________________________________________
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