]> git.ipfire.org Git - thirdparty/squid.git/commit
Add FwdState close handler to pinned connections.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 1 Feb 2012 06:05:08 +0000 (23:05 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 1 Feb 2012 06:05:08 +0000 (23:05 -0700)
commit23211a9fd85c19beed08e2f3d4f692c1bc6451cb
treee78dc23d43979ce2ccb30e46c1ecefdef919d294
parent2c065fc8a4f92da5702c5273e937e6442e1f678e
Add FwdState close handler to pinned connections.

Without a close handler, we will not notice when Server forcefully closed the
connection (e.g., when receiving a zero-size response due to a pconn race)
and, hence, will not retry the connection (or server an error), resulting in a
stuck client (e.g., again, when the server received a zero-size response).
src/forward.cc