- proxy_auth_regex and ident_regex ACL types
- Fixed a StoreEntry memory leak during "dirty" rebuild
- Helper processes no longer hold unrelated filedescriptors open
+ - Helpers are now restarted when the logs are rotated
Changes to Squid-2.4.DEVEL2 ():
/*
- * $Id: main.cc,v 1.308 2000/03/06 16:23:32 wessels Exp $
+ * $Id: main.cc,v 1.309 2000/05/02 20:13:58 hno Exp $
*
* DEBUG: section 1 Startup and Main Loop
* AUTHOR: Harvest Derived
mainRotate(void)
{
icmpClose();
+ dnsShutdown();
+ redirectShutdown();
+ authenticateShutdown();
_db_rotate_log(); /* cache.log */
storeDirWriteCleanLogs(1);
storeLogRotate(); /* store.log */
accessLogRotate(); /* access.log */
useragentRotateLog(); /* useragent.log */
icmpOpen();
+ dnsInit();
+ redirectInit();
+ authenticateInit();
}
static void
/*
- * $Id: unlinkd.cc,v 1.34 2000/03/06 16:23:36 wessels Exp $
+ * $Id: unlinkd.cc,v 1.35 2000/05/02 20:13:58 hno Exp $
*
* DEBUG: section 12 Unlink Daemon
* AUTHOR: Duane Wessels
int x;
setbuf(stdin, NULL);
setbuf(stdout, NULL);
+ close(2);
+ open("/dev/null", O_RDWR);
while (fgets(buf, UNLINK_BUF_LEN, stdin)) {
if ((t = strchr(buf, '\n')))
*t = '\0';