httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Complain about revision 1162854 made by jim
Date Fri, 07 Oct 2011 17:57:51 GMT
Hi,

revision 1162854 fixes

  https://issues.apache.org/bugzilla/show_bug.cgi?id=45076

but introduces a very similar bug.

Modperl allows to write modules in Perl. Those modules can also register 
hooks. The earliest point in time when that may happen is in 
ap_process_config_tree() because there are config statements that 
influence certain parameters of the perl interpreter. So, we have to 
process those statements prior to starting the interpreter. But only the 
perl interpreter knows which modules to load. Those modules then can 
install hooks. But with revision 1162854 these hooks are called out of 
order.

With the enclosed patch apr_hook_sort_all() is called once before 
ap_run_pre_config() and then again after ap_process_config_tree().

The patch applies to 2.2.21 but the same change was made to trunk as 
well. So, please apply it there too.

I'll reopen bug 45076.

Thanks,
Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

Mime
View raw message