Author: jfrederic.clere(a)jboss.com
Date: 2008-04-25 03:47:44 -0400 (Fri, 25 Apr 2008)
New Revision: 1563
Modified:
sandbox/httpd/src/native/common/sharedmem_util.c
sandbox/httpd/src/native/mod_manager/mod_manager.c
Log:
Arrange the logic to persist the data.
Modified: sandbox/httpd/src/native/common/sharedmem_util.c
===================================================================
--- sandbox/httpd/src/native/common/sharedmem_util.c 2008-04-25 07:18:05 UTC (rev 1562)
+++ sandbox/httpd/src/native/common/sharedmem_util.c 2008-04-25 07:47:44 UTC (rev 1563)
@@ -135,7 +135,6 @@
/* XXX: remove the lock file ? */
next = next->next;
}
- apr_pool_destroy(pool);
}
return APR_SUCCESS;
}
Modified: sandbox/httpd/src/native/mod_manager/mod_manager.c
===================================================================
--- sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-04-25 07:18:05 UTC (rev 1562)
+++ sandbox/httpd/src/native/mod_manager/mod_manager.c 2008-04-25 07:47:44 UTC (rev 1563)
@@ -197,6 +197,8 @@
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_EMERG, 0, s, "create_mem_host
failed");
return !OK;
}
+
+ sharedmem_initialize_cleanup(p);
return OK;
}
static char **process_buff(request_rec *r, char *buff)
Show replies by date