httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: cvs commit: httpd-2.0 STATUS
Date Mon, 24 Dec 2001 17:03:31 GMT
>   +
>   +    * ap_create_scoreboard() can exit the process, leaving stuff like
>   +      mod_cgid's daemon process stranded.  Either ap_create_scoreboard()
>   +      needs to be called at a different time or the pre-mpm hook needs
>   +      to be able to return an error code.

The real problem here is that it is calling exit() directly.  That is almost always
incorrect.  There are cleanup programs that need to be run.  If the calls to exit
are replaced with calls to destroy_and_exit_process, this problem should
go away.  Of course, that means that the destroy_and_exit_process will need
to become non-static.

Ryan

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Mime
View raw message