]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r613252 from trunk:
authorJim Jagielski <jim@apache.org>
Sat, 31 May 2008 11:58:20 +0000 (11:58 +0000)
committerJim Jagielski <jim@apache.org>
Sat, 31 May 2008 11:58:20 +0000 (11:58 +0000)
* server/mpm/prefork/prefork.c (child_main): Unlock the mutex before
  terminating in the multi-listener poll error path.

Submitted by: jorton
Reviewed by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@662013 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index ada2990fc3ad0424594755ed0e06365161bdc834..404686d972faa6d9e59dc01e707e76befd064cab 100644 (file)
@@ -590,6 +590,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);
                 }