The scoreboard is no longer created while we can write to
stderr, so call ap_log_error() to note problems allocating the scoreboard. apr_shm_malloc() doesn't set any kind of error code, so don't try to reference errno. setup_shared() now returns an error code to its caller rather than exiting directly. This isn't a complete fix, as ap_create_scoreboard() needs to do the same thing. Currently, when we can't allocate the scoreboard we leave the mod_cgid daemon process stranded. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92592 13f79535-47bb-0310-9956-ffa450edef68
parent
fdf7b05c
Please register or sign in to comment