[squid-users] note macro - %{policy_}note passes old values along with new value

Amish anon.amish at gmail.com
Sat Dec 15 01:03:43 UTC 2018



On 15/12/18 5:27 am, Alex Rousskov wrote:
>>> With modern Squids, you should not do anything special to accomplish
>>> that. Only the latest annotation value should be preserved. If that is
>>> not happening in your tests, consider filing a bug report, especially if
>>> you can reproduce with Squid v4+.
>>> https://github.com/squid-cache/squid/commit/457857fe7cf51037cd9e54e86c0985391d7ea594
> No, the two are pretty much unrelated. The always-erase-the-old-value
> fix (not really a feature!) in the above-referenced commit should apply
> to all annotations, not just client connection annotations. IIRC, our
> connection annotation work simply exposed the fact that we screwed up
> with annotation updates earlier, and we fixed that bug in the same project.
>
> Alex.

Bug report with steps to reproduce filed:

https://bugs.squid-cache.org/show_bug.cgi?id=4912

Amish


More information about the squid-users mailing list