Author: jfrederic.clere(a)jboss.com
Date: 2008-06-17 09:28:42 -0400 (Tue, 17 Jun 2008)
New Revision: 1707
Modified:
trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
Log:
Still missing stuff for 2.2.3
Modified: trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c
===================================================================
--- trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-06-17 13:16:59 UTC
(rev 1706)
+++ trunk/mod_cluster/native/mod_proxy_cluster/mod_proxy_cluster.c 2008-06-17 13:28:42 UTC
(rev 1707)
@@ -73,6 +73,10 @@
char url[SCHEMENDSZ+HOSTNODESZ+PORTNODESZ+5]; /* Type :// Host : Port */
char *ptr;
int reuse = 0;
+#if AP_MODULE_MAGIC_AT_LEAST(20051115,4)
+#else
+ proxy_cluster_helper *helperping;
+#endif
/* build the name (scheme and port) when needed */
strcpy(url, node->mess.Type);
@@ -1008,7 +1012,9 @@
worker->s->status &= ~PROXY_WORKER_IN_ERROR;
worker->s->status &= ~PROXY_WORKER_STOPPED;
worker->s->status &= ~PROXY_WORKER_DISABLED;
+#if AP_MODULE_MAGIC_AT_LEAST(20051115,4)
worker->s->status &= ~PROXY_WORKER_HOT_STANDBY;
+#endif
worker->s->lbfactor = load;
}
return 0;
Show replies by date