--------------------- PatchSet 1924 Date: 2005/10/03 16:23:06 Author: dwsquid Branch: squid3-icap Tag: (none) Log: icapAclCheckDoneWrapper() needs a cbdata check Members: src/client_side_request.cc:1.34.4.10->1.34.4.11 Index: squid3/src/client_side_request.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/client_side_request.cc,v retrieving revision 1.34.4.10 retrieving revision 1.34.4.11 diff -u -r1.34.4.10 -r1.34.4.11 --- squid3/src/client_side_request.cc 3 Oct 2005 16:10:01 -0000 1.34.4.10 +++ squid3/src/client_side_request.cc 3 Oct 2005 16:23:06 -0000 1.34.4.11 @@ -1,6 +1,6 @@ /* - * $Id: client_side_request.cc,v 1.34.4.10 2005/10/03 16:10:01 dwsquid Exp $ + * $Id: client_side_request.cc,v 1.34.4.11 2005/10/03 16:23:06 dwsquid Exp $ * * DEBUG: section 85 Client-side Request Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -476,6 +476,8 @@ static void icapAclCheckDoneWrapper(ICAPServiceRep::Pointer service, void *data) { + if (!calloutContext->httpStateIsValid()) + return; ClientRequestContext *calloutContext = (ClientRequestContext *)data; calloutContext->icapAclCheckDone(service); }