]> git.ipfire.org Git - thirdparty/squid.git/commit
Do not reuse an idle connection to a removed cache_peer (#2028)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 18 Mar 2025 14:58:48 +0000 (14:58 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 20 Mar 2025 15:00:37 +0000 (15:00 +0000)
commita6b9c45235ade0fd417d9f409de69904201013df
tree15831f3ab25ba3f3ca1a9a75bddd68c4a90837af
parent4090fe8b4cd776838f0a04764c9dc753293e3148
Do not reuse an idle connection to a removed cache_peer (#2028)

Sending new requests to a removed cache_peer contradicts current Squid
configuration and even exposes Squid code that forgets to check
CachePeer validity to dangling pointers. We will address the latter
concern separately.
src/comm/Connection.cc
src/comm/Connection.h
src/pconn.cc