]> git.ipfire.org Git - thirdparty/squid.git/commit
Prevent external_acl.cc "inBackground" assertion on queue overloads.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 24 Apr 2013 21:22:39 +0000 (15:22 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 24 Apr 2013 21:22:39 +0000 (15:22 -0600)
commitc1e22df05e7f2ec76b6128d33104e16570ed82c0
tree2c76f76c37b4cb7f93f95bcdb936ffe4f9fb308d
parentd4a56c34ee3b6fab98cc36ce7e2fbbf935b4a0fe
Prevent external_acl.cc "inBackground" assertion on queue overloads.

The enqueue check for external ACL lookups was inconsistent with the final
queue length check in ExternalACLLookup::Start(). The former allowed adding to
the already full (but not yet overflowing) queue while the latter
rightfully(?) asserted that the queue should not overflow.
src/external_acl.cc