--------------------- PatchSet 7194 Date: 2005/12/26 19:31:04 Author: serassio Branch: nt-2_5 Tag: (none) Log: Bug #1464: Squid crash when asyncio function counters url accessed from Cachemgr CGI squidaio_stats() should not be called when awin32 is not initialized. Members: src/fs/awin32/aiops.c:1.1.62.18->1.1.62.19 Index: squid/src/fs/awin32/aiops.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/fs/awin32/Attic/aiops.c,v retrieving revision 1.1.62.18 retrieving revision 1.1.62.19 diff -u -r1.1.62.18 -r1.1.62.19 --- squid/src/fs/awin32/aiops.c 10 Jul 2005 08:56:32 -0000 1.1.62.18 +++ squid/src/fs/awin32/aiops.c 26 Dec 2005 19:31:04 -0000 1.1.62.19 @@ -1,5 +1,5 @@ /* - * $Id: aiops.c,v 1.1.62.18 2005/07/10 08:56:32 serassio Exp $ + * $Id: aiops.c,v 1.1.62.19 2005/12/26 19:31:04 serassio Exp $ * * DEBUG: section 43 AIOPS * AUTHOR: Stewart Forster @@ -1051,6 +1051,9 @@ squidaio_thread_t *threadp; int i; + if (!squidaio_initialised) + return; + storeAppendPrintf(sentry, "\n\nThreads Status:\n"); storeAppendPrintf(sentry, "#\tID\t# Requests\n");