Forward port of 2.5 patch.
/*
- * $Id: cache_cf.cc,v 1.469 2005/04/18 21:52:42 hno Exp $
+ * $Id: cache_cf.cc,v 1.470 2005/04/23 12:28:11 serassio Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
enter_suid();
}
- configDoConfigure();
- cachemgrRegister("config",
- "Current Squid Configuration",
- dump_config,
- 1, 1);
+ if (opt_send_signal == -1) {
+ configDoConfigure();
+ cachemgrRegister("config",
+ "Current Squid Configuration",
+ dump_config,
+ 1, 1);
+ }
+
return err_count;
}
/*
- * $Id: globals.h,v 1.130 2005/04/18 21:52:42 hno Exp $
+ * $Id: globals.h,v 1.131 2005/04/23 12:28:11 serassio Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
extern int opt_no_daemon; /* 0 */
extern const char *external_acl_message; /* NULL */
+extern int opt_send_signal; /* -1 */
#endif /* SQUID_GLOBALS_H */
/*
- * $Id: main.cc,v 1.408 2005/04/18 21:52:42 hno Exp $
+ * $Id: main.cc,v 1.409 2005/04/23 12:28:11 serassio Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
/* for error reporting from xmalloc and friends */
SQUIDCEXTERN void (*failure_notify) (const char *);
-static int opt_send_signal = -1;
static int opt_parse_cfg_only = 0;
static char *opt_syslog_facility = NULL;
static int icpPortNumOverride = 1; /* Want to detect "-u 0" */