]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix performance regressions with fastCheck() result copying (#1883)
authorAmos Jeffries <yadij@users.noreply.github.com>
Mon, 12 Aug 2024 14:26:55 +0000 (14:26 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 12 Aug 2024 16:35:53 +0000 (16:35 +0000)
commit17e41e038585361dab2f8a789e89ee1e4f53de0f
tree54234bc58d8862741acc1ec3f40e368b580e5adf
parentaf8c0865741d80c964f6b302c0665f3ad631b7a2
Fix performance regressions with fastCheck() result copying (#1883)

Detected by Coverity. CID 1616162: Performance inefficiencies
(AUTO_CAUSES_COPY). Using the 'auto' keyword without an '&' causes the
copy of an object of type Acl::Answer.
src/Notes.cc
src/auth/UserRequest.cc
src/client_side.cc
src/http.cc
src/http/Stream.cc