Author: jfrederic.clere(a)jboss.com
Date: 2008-03-26 07:53:33 -0400 (Wed, 26 Mar 2008)
New Revision: 1462
Modified:
sandbox/httpd/src/native/mod_manager/mod_manager.c
Log:
Create the context stopped.
Modified: sandbox/httpd/src/native/mod_manager/mod_manager.c
===================================================================
--- sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-03-26 11:44:29 UTC (rev 1461)
+++ sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-03-26 11:53:33 UTC (rev 1462)
@@ -263,7 +263,7 @@
/*
* Insert the context from Context information
*/
-static int insert_update_contexts(mem_t *mem, char *str, int node, int vhost)
+static int insert_update_contexts(mem_t *mem, char *str, int node, int vhost, int
status)
{
char *ptr = str;
char *previous = str;
@@ -273,6 +273,7 @@
info.node = node;
info.vhost = vhost;
+ info.status = status;
if (ptr == NULL) {
ptr = empty;
previous = ptr;
@@ -395,7 +396,7 @@
int vid = 1; /* zero and "" is empty */
while (phost) {
insert_update_hosts(hoststatsmem, phost->host, id, vid);
- insert_update_contexts(contextstatsmem, phost->context, id, vid);
+ insert_update_contexts(contextstatsmem, phost->context, id, vid, STOPPED);
phost = phost->next;
vid++;
}
Show replies by date