]> git.ipfire.org Git - thirdparty/squid.git/commit
Improve ErrorState debugging (#1768)
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 5 Jun 2024 18:55:06 +0000 (18:55 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 5 Jun 2024 22:56:18 +0000 (22:56 +0000)
commitabb5139d5fdae3d66861b109539d271f671bef16
tree4f6452984eab5ab0c707606c424582e5c9fcdecd
parent920563e7a080155fae3ced73d6198781e8b0ff04
Improve ErrorState debugging (#1768)

In triage, it is often useful to know that ErrorState was created _when_
it was created rather than waiting for errorAppendEntry() or errorSend()
debugging, especially if those error handling stages are not reached.

Also report HTTP status code of the error response (when available).
src/FwdState.cc
src/errorpage.cc