]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 1842: Optimize order of tests in peerWouldBePinged() and peerHTTPOkay()
authorJean-Gabriel Dick <jean-gabriel.dick@curie.fr>
Wed, 20 Jul 2011 07:35:53 +0000 (19:35 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 20 Jul 2011 07:35:53 +0000 (19:35 +1200)
commit6315602cd3e7a38a47a1cd5f29c41d3c422da39e
tree598bf4f88c050bd46486ca9370ff8f710f660e23
parentb4ab8666e50be52f0e99c83e66281d0fdab01193
Bug 1842: Optimize order of tests in peerWouldBePinged() and peerHTTPOkay()

The peerAllowedToUse() function may be time consuming, especially on sites that
have lots of acls.
src/neighbors.cc