BUG/MINOR: peers: Missing TX cache entries reset.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 12 Nov 2020 20:01:54 +0000 (21:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 13 Nov 2020 05:04:18 +0000 (06:04 +0100)
commitea875e62e6b2f69c50533c5cd52eb5284c69723f
tree13f0d1f746f6be42fec6f30059a3ec4d15377f82
parentf9e51beec118f1bbd558ed689fdad35046160529
BUG/MINOR: peers: Missing TX cache entries reset.

The TX part of a cache for a dictionary is made of an reserved array of ebtree nodes
which are pointers to dictionary entries. So when we flush the TX part of such a
cache, we must not only remove these nodes to dictionary entries from their ebtree.
We must also reset their values. Furthermore, the LRU key and the last lookup
result must also be reset.
src/peers.c