You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2007/10/29 13:42:14 UTC
svn commit: r589602 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
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;
Re: svn commit: r589602 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
Posted by Jim Jagielski <ji...@jaguNET.com>.
On Oct 29, 2007, at 10:26 AM, Jeff Trawick wrote:
> On 10/29/07, jim@apache.org <ji...@apache.org> 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 :)
Re: svn commit: r589602 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
Posted by Jeff Trawick <tr...@gmail.com>.
On 10/29/07, jim@apache.org <ji...@apache.org> 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.