]> git.ipfire.org Git - thirdparty/squid.git/commit
Simplify Ipc::Strand::handleRegistrationResponse() (#2129)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Thu, 31 Jul 2025 05:22:56 +0000 (05:22 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 31 Jul 2025 16:37:07 +0000 (16:37 +0000)
commitcbd649b6f00bbc6f218da4a18cd108fea3c9172f
tree99659b7f52b99b103691fbf3833368c1d82cfb26
parentc21da2bf83a9fc3e60c189f547a850dc2aa041de
Simplify Ipc::Strand::handleRegistrationResponse() (#2129)

Checking PID to ignore stale responses became unnecessary after 2021
commit 4c21861 added Mine() calls that guarantee message freshness.

Also replaced the matching kidId check with an assertion because no IPC
messages, not even stale ones, may be sent to the kid with the wrong kid
identifier. This assertion cannot be easily generalized because most IPC
messages do not contain the kid identifier of the intended recipient.
src/ipc/Strand.cc