httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch>
Subject Re: ap_read_config in 2.3.11
Date Tue, 19 Apr 2011 21:35:23 GMT
On Monday 18 April 2011, Stefan Fritsch wrote:
> I don't really like that. The admin should not have to count the
> LoadModule directives in order to tune DynamicModulesMax for
> minimum memory usage. Httpd should do the counting.

> - a module that wants to add modules later (like mod_perl) could
> call some function in its insert_hooks function, which would cause
> the adjustment of conf_vector_length to happen in post_config
> instead

The attached patch adds two functions, ap_reserve_module_slots() and 
ap_reserve_module_slots_directive(), which can be called by relevant 
modules in the pre config stage.

Can you please test this patch and call 
ap_reserve_module_slots_directive("PerlLoadModule") in mod_perl's 
pre_config hook?

View raw message