diff options
author | Jeff Trawick <trawick@apache.org> | 2002-01-28 01:41:32 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-01-28 01:41:32 +0100 |
commit | 7c1ce28ee134aaf458712661479b440700ba0705 (patch) | |
tree | 96b933754ed41111de083a2dbe36e53670abc857 /server/mpm/netware | |
parent | optimized away one more filter name lookup during request processing (diff) | |
download | apache2-7c1ce28ee134aaf458712661479b440700ba0705.tar.xz apache2-7c1ce28ee134aaf458712661479b440700ba0705.zip |
fix the problem where a scoreboard init failure could leave
mod_cgid stranded
a pre_mpm hook can now return failures, so problems in
ap_create_scoreboard percolate back to a place where Apache
can exit cleanly
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/netware')
-rw-r--r-- | server/mpm/netware/mpm_netware.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/mpm/netware/mpm_netware.c b/server/mpm/netware/mpm_netware.c index eed96e7847..dbe0a98bc0 100644 --- a/server/mpm/netware/mpm_netware.c +++ b/server/mpm/netware/mpm_netware.c @@ -881,7 +881,9 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) apr_thread_mutex_create(&accept_mutex, APR_THREAD_MUTEX_DEFAULT, pconf); if (!is_graceful) { - ap_run_pre_mpm(pconf, SB_NOT_SHARED); + if (ap_run_pre_mpm(pconf, SB_NOT_SHARED) != OK) { + return 1; + } } /* Only set slot 0 since that is all NetWare will ever have. */ |