httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: any reason why post_config hook doesn't let modules fail init?
Date Tue, 20 Nov 2001 19:29:37 GMT
On Tue, Nov 20, 2001 at 02:25:56PM -0500, Jeff Trawick wrote:
> We have several modules which "exit(1)" from their post_config
> hook if something bad happens that the administrator must correct 
> (e.g., mod_unique_id, mod_rewrite).  But when they "exit(1)" cleanups
> are't run. If post_config was RUN_ALL instead of RUN_VOID then such
> modules could just return a failure code from their post_config and
> main() could do the right thing (call destroy_and_exit_process()).
> 
> Any reason not to do this?

Sounds sane.  +1.  -- justin


Mime
View raw message