]> git.ipfire.org Git - thirdparty/squid.git/commit - src/client_side_reply.cc
Mark refresh-waiting transactions with REFRESH.
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Thu, 2 Jun 2016 09:49:19 +0000 (21:49 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Jun 2016 09:49:19 +0000 (21:49 +1200)
commitcb72b1ca5dd94f2418639ef8123471dcfbaa9e89
tree4c6b83775dcb18c8e7c92db254d5c2ab82f91d22
parentb65a2365ae9dd6381ffa54bd40baeda2b6621df2
Mark refresh-waiting transactions with REFRESH.

Before this change, transactions initiating a refresh were still marked
as TCP_HIT*. If such a transaction was terminated (for any reason)
before receiving an IMS reply, it was logged with that misleading tag.
Now, such transactions are logged using TCP_REFRESH[_ABORTED].

After the refresh (successful or otherwise), the tag changes to one of
the other TCP_REFRESH_* values, as before.
src/LogTags.cc
src/LogTags.h
src/client_side_reply.cc