From: Amos Jeffries Date: Sun, 2 May 2010 10:14:12 +0000 (+1200) Subject: ACL Tag requires request not conn X-Git-Tag: SQUID_3_1_3~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1468e7199fb78fb220b92a44c53a36f0b988a3d;p=thirdparty%2Fsquid.git ACL Tag requires request not conn This makes the tag ACL type work in most access lists. Connection details are not always available and not actually needed by tag. --- diff --git a/src/acl/Tag.cc b/src/acl/Tag.cc index 5641e6e301..ef4ac00695 100644 --- a/src/acl/Tag.cc +++ b/src/acl/Tag.cc @@ -43,7 +43,7 @@ int ACLTagStrategy::match (ACLData * &data, ACLFilledChecklist *checklist) { - if (checklist->conn() != NULL) + if (checklist->request != NULL) return data->match (checklist->request->tag.termedBuf()); return 0; }