]> git.ipfire.org Git - thirdparty/squid.git/commit
Remove cache_peer_domain directive
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Feb 2015 06:34:49 +0000 (22:34 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Feb 2015 06:34:49 +0000 (22:34 -0800)
commitf1a5d07184dcb26486e83590f9993d16b5de05fa
tree434f37bd6bfb2ffb347a9f78050b200241f1e0fd
parent0e63f9735e38f624f73275bd39463d2478cc016f
Remove cache_peer_domain directive

Identical functionality is provided through cache_peer_access.

While this check appears at face value to be simpler than ACLs, the
reality is that:
* the difference is simply the time it takes to initialize and destruct
  an on-stack Checklist,
* processing the checks may take longer than ACLs (linked-list of string
  comparisons vs single tree lookup),
* ACLs are the common case due to their extra flexibility, and
* extra work is being done per-transaction just to check which of the
  two features is in use.

By removing we gain less code and configuration directives to work
around in the long term.
doc/release-notes/release-3.6.sgml
src/CachePeer.cc
src/CachePeer.h
src/CachePeerDomainList.h [deleted file]
src/Makefile.am
src/cache_cf.cc
src/cf.data.pre
src/neighbors.cc