]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stick-table: cap sticky counter idx with tune.nb_stk_ctr instead of MAX_SE...
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 7 Aug 2025 09:54:58 +0000 (11:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Aug 2025 03:26:30 +0000 (05:26 +0200)
commit21d5f43aa6e9513d11dff2d80a2a332d92c0a857
tree747fa0e9069f89e5801b741e6d6e7f38baaff1f8
parent7656a417843d9f54925d987a2666d11081aab956
BUG/MINOR: stick-table: cap sticky counter idx with tune.nb_stk_ctr instead of MAX_SESS_STKCTR

Cap sticky counter index with tune.nb_stk_ctr instead of MAX_SESS_STKCTR for
sc-add-gpc. Same logic is already implemented for sc-inc-gpc and sc-set-gpt
keywords. So, it seems missed for sc-add-gpc.

This fixes the issue #3061 reported at GitHub. Thanks to @ma311 for
reporting their analysis of the issue.
This should be backported in all versions until 2.8, included 2.8.
src/stick_table.c