]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix 'access_log none' to prevent following logs being used
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 May 2015 07:11:04 +0000 (00:11 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 1 May 2015 07:11:04 +0000 (00:11 -0700)
commit4b547ad7b4417bb111cd0c739531d07ca36586a5
tree1412835beb7d7fe1ec348650ac7ffded949d15f1
parent3ae43cd7fa391340ecd10329a92674990cfa37ec
Fix 'access_log none' to prevent following logs being used

The documented behaviour of "access_log none" for preventing logging
using log lines following the directive has not been working in
Squid-3 for some time.

Since the 'none' type does not have a log module associated the entire
switch logic where its abort is checked for was being skipped.
src/log/access_log.cc