How can I avoid a squid warning of "ACL is used in context without an HTTP response (or request). Assuming mismatch".
Issue
- The following warning were output in
/var/log/squid/cache.log
.
WARNING: HTTPcode ACL is used in context without an HTTP response. Assuming mismatch.
WARNING: CONNECT ACL is used in context without an HTTP request. Assuming mismatch.
- My
squid
configuration contains the followingacl
definitions in/etc/squid/squid.conf
.
acl CONNECT method CONNECT
acl HTTPcode http_status 100-399
acl success all-of !CONNECT HTTPcode
- I want to know how I can prevent the
squid
daemon from outputting these warning messages.
Environment
Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.