]> git.ipfire.org Git - thirdparty/squid.git/commit
Avoid FwdState::serverConn while establishing a CONNECT tunnel (#681)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 25 Jun 2020 09:39:45 +0000 (09:39 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 26 Jun 2020 14:27:44 +0000 (14:27 +0000)
commit236b41e8e4a2b25a4138437935e18ca1895dcae9
treea755ca4f11c31dc1032180889c888c298398250c
parent6c8cbe63cca3f3496104a625039cf6e4c0493d40
Avoid FwdState::serverConn while establishing a CONNECT tunnel (#681)

Master/v6 commit 25b0ce4 missed two cases where serverConnection() was
used prematurely: One case requires --enable-delay-pools, and the other
does not actually dereference the prematurely used serverConnection().
Both cases establish a CONNECT tunnel through a cache_peer.
src/FwdState.cc