]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
call aioClose() to initalize asyncio stuff before forking
authorwessels <>
Wed, 18 Feb 1998 02:12:06 +0000 (02:12 +0000)
committerwessels <>
Wed, 18 Feb 1998 02:12:06 +0000 (02:12 +0000)
src/main.cc

index eb07dad6fb0a089f3e95625fc527c5a53a08b39c..cedd78b3b51705fcb934d0fa7c56289d61c722a8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.219 1998/02/13 18:26:58 wessels Exp $
+ * $Id: main.cc,v 1.220 1998/02/17 19:12:06 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -436,6 +436,9 @@ mainInitialize(void)
        memInit();              /* memInit must go before at least redirect */
        disk_init();            /* disk_init must go before ipcache_init() */
     }
+#if USE_ASYNC_IO
+    aioClose(dup(0));          /* cough */
+#endif
     ipcache_init();
     fqdncache_init();
     dnsOpenServers();