]> granicus.if.org Git - apache/commitdiff
* server/mpm/prefork/prefork.c (child_main): Unlock the mutex before
authorJoe Orton <jorton@apache.org>
Fri, 18 Jan 2008 20:12:31 +0000 (20:12 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 18 Jan 2008 20:12:31 +0000 (20:12 +0000)
  terminating in the multi-listener poll error path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@613252 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index f362e9637999decc207beb456e6db6e40de17a89..ad7b6162de7376a450e32af9677a60c3c3cf5935 100644 (file)
@@ -567,6 +567,7 @@ static void child_main(int child_num_arg)
                      */
                     ap_log_error(APLOG_MARK, APLOG_ERR, status,
                                  ap_server_conf, "apr_pollset_poll: (listen)");
+                    SAFE_ACCEPT(accept_mutex_off());
                     clean_child_exit(1);
                 }