]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: backend: move hash_balance_factor out of chash
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 15:50:58 +0000 (16:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 18:33:17 +0000 (19:33 +0100)
commit76e84f50919be89d8c7c0af4e9dd2be95cf45036
tree1c88b4eca114a379a33bc20544dde9553513d579
parenta9a7249966683eeb0e474c80589cbc1fc5c29f8a
MINOR: backend: move hash_balance_factor out of chash

This one is a proxy option which can be inherited from defaults even
if the LB algo changes. Move it out of the lb_chash struct so that we
don't need to keep anything separate between these structs. This will
allow us to merge them into an union later. It even takes less room
now as it fills a hole and removes another one.
include/types/backend.h
include/types/lb_chash.h
src/cfgparse-listen.c
src/cfgparse.c
src/lb_chash.c