From: wessels <> Date: Fri, 25 Jun 1999 05:07:09 +0000 (+0000) Subject: reload MIME icons at reconfigure X-Git-Tag: SQUID_3_0_PRE1~2137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c021a3886eac53802cb208267483a2fefc308f8;p=thirdparty%2Fsquid.git reload MIME icons at reconfigure --- diff --git a/src/main.cc b/src/main.cc index 63c76423da..88dd9670f5 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.301 1999/06/17 05:02:21 wessels Exp $ + * $Id: main.cc,v 1.302 1999/06/24 23:07:09 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -335,6 +335,7 @@ mainReconfigure(void) authenticateShutdown(); storeDirCloseSwapLogs(); errorClean(); + mimeFreeMemory(); parseConfigFile(ConfigFile); _db_init(Config.Log.log, Config.debugOptions); ipcache_restart(); /* clear stuck entries */ @@ -352,6 +353,7 @@ mainReconfigure(void) debug(1, 1) ("ICP port disabled in httpd_accelerator mode\n"); } storeDirOpenSwapLogs(); + mimeInit(Config.mimeTablePathname); writePidFile(); /* write PID file */ debug(1, 1) ("Ready to serve requests.\n"); reconfiguring = 0;