httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jagunet.com>
Subject Re: Complain about revision 1162854 made by jim
Date Sat, 08 Oct 2011 12:47:02 GMT
Thx… 
On Oct 7, 2011, at 1:57 PM, Torsten Förtsch wrote:

> 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
> <hook-order-2.2.21.patch>


Mime
View raw message