]> git.ipfire.org Git - thirdparty/squid.git/commit
Squid-to-client write_timeout triggers client_lifetime timeout (#747)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 8 Nov 2020 17:50:03 +0000 (17:50 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 10 Nov 2020 17:19:34 +0000 (17:19 +0000)
commitdb43f1799a5e8a8cd048f8f6e9c4d0c894caa8bb
treed8666d9ee1297ec19917ba5b1c42a4b14dafc80a
parent70ac5b29a795ad07555f7148045cce88b5e4b937
Squid-to-client write_timeout triggers client_lifetime timeout (#747)

Since commit 5ef5e5c, a socket write timeout triggers two things:
* reporting of a write error to the socket writer (as designed/expected)
* reporting of a socket read timeout to the socket reader (unexpected).

The exact outcome probably depends on the transaction state, but one
known manifestation of this bug is the following level-1 message in
cache.log, combined with an access.log record showing a
much-shorter-than-client_lifetime transaction response time.

    WARNING: Closing client connection due to lifetime timeout
src/comm.cc