[squid-dev] [PATCH] Use TCP_REFRESH_PENDING while waiting for IMS reply

Eduard Bagdasaryan eduard.bagdasaryan at measurement-factory.com
Tue May 31 20:17:45 UTC 2016


This patch marks refresh-waiting transactions with TCP_REFRESH_PENDING.

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_PENDING[_ABORTED].

After the refresh (successful or otherwise), the tag changes to one of
the other TCP_REFRESH_* values, as before.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: SQUID-182-use-tcp-refresh-pending-while-waiting-ims-reply-t2.patch
Type: text/x-patch
Size: 1741 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160531/558176eb/attachment.bin>

More information about the squid-dev mailing list