]> git.ipfire.org Git - thirdparty/squid.git/commit
Refactor peerRefreshDNS() to clarify its (void*)1 logic (#1950)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 19 Nov 2024 22:43:59 +0000 (22:43 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 31 Jan 2025 07:52:27 +0000 (20:52 +1300)
commit461919ccffc1559c58f000935434b9d3f11a9058
tree23019833989c67ea14a4e5d5ca756e5465eefce8
parentf48be6ed5012173c50c7c904c0d48121caaec298
Refactor peerRefreshDNS() to clarify its (void*)1 logic (#1950)

Creating a raw pointer with 1 as an address/value raised red flags, and
it was difficult to interpret tricky peerRefreshDNS() logic correctly.
src/acl/SourceDomain.cc
src/neighbors.cc