]> git.ipfire.org Git - thirdparty/squid.git/commit
Prevent external_acl.cc "inBackground" assertion on queue overloads.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 25 Apr 2013 15:47:40 +0000 (09:47 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 25 Apr 2013 15:47:40 +0000 (09:47 -0600)
commit583c0115b3933afd8e82c4ac90cdfc87901128ef
tree77eea4a369475839dd22ab53de7a8602ea604867
parentd2da01d7f65edff4e1e50c6d3b7d93c57890e3fb
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