Author: jfrederic.clere(a)jboss.com
Date: 2009-02-10 18:06:09 -0500 (Tue, 10 Feb 2009)
New Revision: 2281
Modified:
trunk/mod_cluster/native/advertise/mod_advertise.c
Log:
Better just an error message and disable the Advertise logic.
Modified: trunk/mod_cluster/native/advertise/mod_advertise.c
===================================================================
--- trunk/mod_cluster/native/advertise/mod_advertise.c 2009-02-10 22:42:47 UTC (rev 2280)
+++ trunk/mod_cluster/native/advertise/mod_advertise.c 2009-02-10 23:06:09 UTC (rev 2281)
@@ -589,9 +589,9 @@
/* prevent X-Manager-Address: (null):0 */
if (!ma_advertise_srvs || !ma_advertise_srvp) {
- ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s,
- "mod_advertise: ServerAdvertise Address or Port not
defined");
- return APR_EGENERAL;
+ ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
+ "mod_advertise: ServerAdvertise Address or Port not
defined, Advertise disabled!!!");
+ return OK;
}
/* Create parent management thread */