]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix debugging for responses that Expire at check time (#1683)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 18 Feb 2024 00:45:41 +0000 (00:45 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Tue, 20 Feb 2024 03:01:41 +0000 (16:01 +1300)
commitc439429759f5e5b0f47fae4488861cae1fe5a48f
tree04275a63a1271d8724fb3a9bd790b47c6037bec2
parent53dc9a5aa677a578cef9c4272a436ca0b3d838ea
Fix debugging for responses that Expire at check time (#1683)

Since 2000 commit 65fa5c6, our level-3 debugging mislead about Expires
being less than the check time when the two times were identical. The
actual checked conditions are correct: Roughly speaking, the response
with Expires value T is considered expired at that time T.

Also dropped extra (and inconsistent) trailing space on debugs() lines.
This space was added by the same 2000 commit, probably accidentally.
src/refresh.cc