/*
- * $Id: cache_cf.cc,v 1.378 2001/03/03 10:39:30 hno Exp $
+ * $Id: cache_cf.cc,v 1.379 2001/04/20 12:40:25 hno Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
#if USE_DNSSERVERS
if (Config.dnsChildren < 1)
fatal("No dnsservers allocated");
- if (Config.dnsChildren > DefaultDnsChildrenMax) {
- debug(3, 0) ("WARNING: dns_children was set to a bad value: %d\n",
- Config.dnsChildren);
- debug(3, 0) ("Setting it to the maximum (%d).\n",
- DefaultDnsChildrenMax);
- Config.dnsChildren = DefaultDnsChildrenMax;
- }
#endif
if (Config.Program.redirect) {
if (Config.redirectChildren < 1) {
Config.redirectChildren = 0;
wordlistDestroy(&Config.Program.redirect);
- } else if (Config.redirectChildren > DefaultRedirectChildrenMax) {
- debug(3, 0) ("WARNING: redirect_children was set to a bad value: %d\n",
- Config.redirectChildren);
- debug(3, 0) ("Setting it to the maximum (%d).\n", DefaultRedirectChildrenMax);
- Config.redirectChildren = DefaultRedirectChildrenMax;
}
}
if (Config.Accel.host) {
/*
- * $Id: defines.h,v 1.91 2001/03/20 01:10:25 hno Exp $
+ * $Id: defines.h,v 1.92 2001/04/20 12:40:25 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
#define ACL_ALLWEEK 0x7F
#define ACL_WEEKDAYS 0x3E
-#define DefaultDnsChildrenMax 32 /* 32 processes */
-#define DefaultRedirectChildrenMax 32 /* 32 processes */
#define MAXHTTPPORTS 12
#define COMM_OK (0)
/*
- * $Id: enums.h,v 1.191 2001/04/14 00:25:18 hno Exp $
+ * $Id: enums.h,v 1.192 2001/04/20 12:40:25 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
MEM_DLINK_LIST,
MEM_DLINK_NODE,
MEM_DNSSERVER_T,
- MEM_DNSSTATDATA,
MEM_DOMAIN_PING,
MEM_DOMAIN_TYPE,
MEM_DONTFREE,
/*
- * $Id: globals.h,v 1.101 2001/01/12 00:37:18 wessels Exp $
+ * $Id: globals.h,v 1.102 2001/04/20 12:40:26 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
extern const char *pingStatusStr[];
extern const char *storeStatusStr[];
extern const char *swapStatusStr[];
-extern dnsStatData DnsStats;
extern fde *fd_table; /* NULL */
extern int Biggest_FD; /* -1 */
extern int Number_FD; /* 0 */
/*
- * $Id: mem.cc,v 1.56 2001/04/09 21:55:50 hno Exp $
+ * $Id: mem.cc,v 1.57 2001/04/20 12:40:26 hno Exp $
*
* DEBUG: section 13 High Level Memory Pool Management
* AUTHOR: Harvest Derived
memDataInit(MEM_DLINK_LIST, "dlink_list", sizeof(dlink_list), 10);
memDataInit(MEM_DLINK_NODE, "dlink_node", sizeof(dlink_node), 10);
memDataInit(MEM_DNSSERVER_T, "dnsserver_t", sizeof(dnsserver_t), 0);
- memDataInit(MEM_DNSSTATDATA, "dnsStatData", sizeof(dnsStatData), 0);
memDataInit(MEM_DOMAIN_PING, "domain_ping", sizeof(domain_ping), 0);
memDataInit(MEM_DOMAIN_TYPE, "domain_type", sizeof(domain_type), 0);
memDataInit(MEM_DREAD_CTRL, "dread_ctrl", sizeof(dread_ctrl), 0);
/*
- * $Id: structs.h,v 1.387 2001/04/14 00:25:19 hno Exp $
+ * $Id: structs.h,v 1.388 2001/04/20 12:40:26 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
void *data;
};
-struct _dnsStatData {
- int requests;
- int replies;
- int hist[DefaultDnsChildrenMax];
-};
-
struct _dwrite_q {
off_t file_offset;
char *buf;
/*
- * $Id: typedefs.h,v 1.125 2001/04/14 00:03:24 hno Exp $
+ * $Id: typedefs.h,v 1.126 2001/04/20 12:40:26 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
typedef struct _close_handler close_handler;
typedef struct _dread_ctrl dread_ctrl;
typedef struct _dnsserver_t dnsserver_t;
-typedef struct _dnsStatData dnsStatData;
typedef struct _dwrite_q dwrite_q;
typedef struct _ETag ETag;
typedef struct _fde fde;