How can I avoid a squid warning of "ACL is used in context without an HTTP response (or request). Assuming mismatch".

Solution Unverified - Updated -

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 following acl 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content