--------------------- PatchSet 3843 Date: 2006/10/07 04:53:11 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Call ownerAbort() before deleting icap helper so that it can inform/abort the ICAPXaction. Perhaps we should inform/abort the ICAPXaction by default instead of relying on an explicit wonerAbort() call? Members: src/Server.cc:1.4.2.2->1.4.2.3 Index: squid3/src/Server.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/Server.cc,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- squid3/src/Server.cc 29 Sep 2006 23:16:00 -0000 1.4.2.2 +++ squid3/src/Server.cc 7 Oct 2006 04:53:11 -0000 1.4.2.3 @@ -1,5 +1,5 @@ /* - * $Id: Server.cc,v 1.4.2.2 2006/09/29 23:16:00 dwsquid Exp $ + * $Id: Server.cc,v 1.4.2.3 2006/10/07 04:53:11 rousskov Exp $ * * DEBUG: * AUTHOR: Duane Wessels @@ -62,8 +62,11 @@ fwd = NULL; // refcounted #if ICAP_CLIENT - if (icap) + if (icap) { + debug(11,5)("ServerStateData destroying icap=%p\n", icap); + icap->ownerAbort(); delete icap; + } #endif }