httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r759847 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
Date Mon, 30 Mar 2009 06:35:49 GMT
Author: mturk
Date: Mon Mar 30 06:35:47 2009
New Revision: 759847

URL: http://svn.apache.org/viewvc?rev=759847&view=rev
Log:
If there are multiple hook watchdog threads registered, make sure we fire on default one only

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=759847&r1=759846&r2=759847&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Mon Mar 30 06:35:47 2009
@@ -136,7 +136,7 @@
     apr_status_t rv;
     hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module);
 
-    if (!ctx->active) {
+    if (!ctx->active && strcmp(name, AP_WATCHDOG_SINGLETON)) {
         return OK;
     }
     return hb_monitor(ctx, pool);



Mime
View raw message