/*
- * $Id: cache_cf.cc,v 1.160 1996/12/20 23:45:36 wessels Exp $
+ * $Id: cache_cf.cc,v 1.161 1996/12/21 07:54:50 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
#define DefaultLevelOneDirs 16
#define DefaultLevelTwoDirs 256
+#define DefaultOptionsLogUdp 1 /* on */
int httpd_accel_mode = 0; /* for fast access */
const char *DefaultSwapDir = DEFAULT_SWAP_DIR;
wordlistDestroy(&Config.mcast_group_list);
wordlistDestroy(&Config.inside_firewall_list);
wordlistDestroy(&Config.dns_testname_list);
+ wordlistDestroy(&Config.cache_stoplist);
ip_acl_destroy(&Config.local_ip_list);
ip_acl_destroy(&Config.firewall_ip_list);
objcachePasswdDestroy(&Config.passwd_list);
Config.Store.objectsPerBucket = DefaultObjectsPerBucket;
Config.levelOneDirs = DefaultLevelOneDirs;
Config.levelTwoDirs = DefaultLevelTwoDirs;
+ Config.Options.log_udp = DefaultOptionsLogUdp;
}
static void
/*
- * $Id: neighbors.cc,v 1.103 1996/12/20 23:46:15 wessels Exp $
+ * $Id: neighbors.cc,v 1.104 1996/12/21 07:54:52 wessels Exp $
*
* DEBUG: section 15 Neighbor Routines
* AUTHOR: Harvest Derived
}
if (e) {
*E = e->next;
- safe_free(e->host);
- safe_free(e);
+ edgeDestroy(e);
friends.n--;
}
friends.first_ping = friends.edges_head;
void
edgeDestroy(edge * e)
{
+ struct _domain_ping *l = NULL;
+ struct _domain_ping *nl = NULL;
if (e == NULL)
return;
+ for (l = e->pinglist; l; l = nl) {
+ nl = l->next;
+ safe_free(l->domain);
+ safe_free(l);
+ }
safe_free(e->host);
safe_free(e);
}