]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/Notes.cc
Supply AccessLogEntry (ALE) for more fast ACL checks. (#182)
[thirdparty/squid.git] / src / Notes.cc
index 4713c1441ba636dbbfc4c04366d6a32faaeace99..6c33b144e8b7f9ab4a5c8dc92f7691a61d90fa6d 100644 (file)
@@ -69,7 +69,9 @@ bool
 Note::match(HttpRequest *request, HttpReply *reply, const AccessLogEntry::Pointer &al, SBuf &matched)
 {
     ACLFilledChecklist ch(nullptr, request, nullptr);
+    ch.al = al;
     ch.reply = reply;
+    ch.syncAle(request, nullptr);
     if (reply)
         HTTPMSGLOCK(ch.reply);