]> git.ipfire.org Git - thirdparty/squid.git/commit
ICAP: do not set connect_timeout on the established connection
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 13 Aug 2021 16:43:46 +0000 (19:43 +0300)
committerEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 13 Aug 2021 16:43:46 +0000 (19:43 +0300)
commit366c78a33f63ac4412cc35d1a77386cae4a163a3
tree2abfab6be3af9fbcf44af6e3eb67fe70c6fff7a9
parentd93df6e6d2ff75bdaf8ecc858c41041f25bb2560
ICAP: do not set connect_timeout on the established connection

Icap::Xaction code should not bother with connect_timeout at all:
this work is performed by connection establishing jobs
such as ConnOpener and Ssl::IcapPeerConnector.

Moreover, the Xaction::noteCommTimedout() handler does not expect
disconnected Connection and should not be used while connecting.
src/adaptation/icap/Xaction.cc