From: Amos Jeffries Date: Fri, 25 Apr 2008 10:54:47 +0000 (+1200) Subject: Author: Alex Rousskov X-Git-Tag: SQUID_3_0_STABLE5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcdfee055eb627ccfed20c2e197c41b0028832ce;p=thirdparty%2Fsquid.git Author: Alex Rousskov Bug 2294: Bypassing 403 and 404 status to ICAP using icap_access - Failed --- diff --git a/src/ICAP/ICAPConfig.cc b/src/ICAP/ICAPConfig.cc index 644e85f783..4bb699a658 100644 --- a/src/ICAP/ICAPConfig.cc +++ b/src/ICAP/ICAPConfig.cc @@ -186,6 +186,9 @@ ICAPAccessCheck::checkCandidates() // XXX we don't have access to conn->rfc931 here. acl_checklist = aclChecklistCreate(theClass->accessList, req, dash_str); + if (rep) + acl_checklist->reply = HTTPMSGLOCK(rep); // ACLChecklist unlocks + acl_checklist->nonBlockingCheck(ICAPAccessCheckCallbackWrapper, this);