On Oct 29, 2007, at 10:26 AM, Jeff Trawick wrote:

On 10/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: jim
Date: Mon Oct 29 05:42:13 2007
New Revision: 589602

URL: http://svn.apache.org/viewvc?rev=589602&view=rev
Log:
When setting status to SERVER_DEAD, reset pid as well.

Modified:
    httpd/httpd/branches/1.3.x/src/main/http_main.c

Modified: httpd/httpd/branches/1.3.x/src/main/http_main.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/ main/http_main.c?rev=589602&r1=589601&r2=589602&view=diff ===================================================================== =========
--- httpd/httpd/branches/1.3.x/src/main/http_main.c (original)
+++ httpd/httpd/branches/1.3.x/src/main/http_main.c Mon Oct 29 05:42:13 2007
@@ -2661,6 +2661,7 @@
            if (status == SERVER_DEAD) {
                ss->my_access_count = 0L;
                ss->my_bytes_served = 0L;
+                ap_scoreboard_image->parent[child_num].pid = 0;
            }
            ss->conn_count = (unsigned short) 0;
            ss->conn_bytes = (unsigned long) 0;

+1

A CHANGES entry nothing the resolution of the bogus error message
would be helpful.


Good point :)

Reply via email to