]> git.ipfire.org Git - thirdparty/squid.git/commit - src/adaptation/icap/ServiceRep.h
Send RST packet when closing an ICAP connection after a transaction error.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 6 Sep 2011 17:57:57 +0000 (11:57 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 6 Sep 2011 17:57:57 +0000 (11:57 -0600)
commita32c060fb1c92c9aa2f794ba86d06dc847816939
treea62326ed575de3409a8e47906e90978eb47ff12a
parent8ace824c62f43e7df8a47516f72ae35107ef7504
Send RST packet when closing an ICAP connection after a transaction error.

This helps identify abnormal transaction termination at the ICAP server. The
code is from a production-running branch and was proven useful in some
environments (especially if the ICAP service needs help correctly dealing with
prematurely terminated transfers), but it is not yet clear whether the
advantages of doing this on a regular basis outweigh the overheads. If not,
we will need a squid.conf parameter to control connection closing behavior.
src/adaptation/icap/ServiceRep.cc
src/adaptation/icap/ServiceRep.h
src/adaptation/icap/Xaction.cc