]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: peers: fix some track counter rules dont register entries for sync.
authorEmeric Brun <ebrun@haproxy.com>
Wed, 29 Nov 2017 15:15:07 +0000 (16:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 Nov 2017 18:16:22 +0000 (19:16 +0100)
commit0fed0b0a381a90cbb72eb5e32e57e7ce68880d0d
treeaf8d2200017304674dfb44882bdbd65b9173fe1f
parent872855998bd03d5224e0e5cd6aef9b91e2a6de1d
BUG/MEDIUM: peers: fix some track counter rules dont register entries for sync.

This BUG was introduced with:
'MEDIUM: threads/stick-tables: handle multithreads on stick tables'

The API was reviewed to handle stick table entry updates
asynchronously and the caller must now call a 'stkable_touch_*'
function each time the content of an entry is modified to
register the entry to be synced.

There was missing call to stktable_touch_* resulting in
not propagated entries to remote peers (or local one during reload)
include/proto/session.h
include/proto/stream.h
src/proto_http.c