Commit a7cb4381 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

Exit the child main thread in make_child on child exit. This fixes a problem

where the child main thread was looping in make_child() forking errant processes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88564 13f79535-47bb-0310-9956-ffa450edef68
parent 0f138c2e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
Changes with Apache 2.0.15-dev
  *) Fix bug in the Unix threaded.c MPM that allowed child processes
     to fork() new child processes. 
     [Bill Stoddard]

  *) Fix a major security problem with double-reverse lookup checking.  
     Previously, a client connecting over IPv4 would not be matched 
+1 −1
Original line number Diff line number Diff line
@@ -762,7 +762,7 @@ static int make_child(server_rec *s, int slot)
        apr_signal(SIGTERM, just_die);
        child_main(slot);

	return 0;
        exit(0);
    }
    /* else */
    ap_scoreboard_image->parent[slot].pid = pid;