Commit 00293ab3 authored by Greg Ames's avatar Greg Ames
Browse files

prevent seg faults in mod_status with ExtendedStatus enabled, after

a restart.  A pointer to the previous generation's vhost server_rec
could be left in the worker_score under certain conditions.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89660 13f79535-47bb-0310-9956-ffa450edef68
parent ca53f3fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ int ap_update_child_status(int child_num, int thread_num, int status, request_re
	&& old_status == SERVER_STARTING) {
        ws->thread_num = child_num * HARD_SERVER_LIMIT + thread_num;
        ps->generation = ap_my_generation;
        ws->vhostrec = NULL;
    }

    if (ap_extended_status) {