]> 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)
committerAmos Jeffries <yadij@users.noreply.github.com>
Sun, 4 Apr 2021 05:16:24 +0000 (17:16 +1200)
commit9db2c4b1c2e607abd8bf504c8bc7cea55f2acb4c
treefa42d35dd8a6d6449219441d909c95827c91cce5
parente9133b6982d14514a7d87e5f6b40a2256e52e0e2
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