MINOR: backend: remove invalid mode test for "hash-balance-factor"
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 20 Nov 2023 10:33:20 +0000 (11:33 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 24 Nov 2023 15:27:55 +0000 (16:27 +0100)
commitffae3ca34bf9df9009fd3d3551ed2a9aa0857659
tree572decfa97259e3d62495f89ee318358344851e3
parentc886fb58eb56cfd8afb863919457b57fb3508759
MINOR: backend: remove invalid mode test for "hash-balance-factor"

This is a leftover from 1e0093a317 ("MINOR: backend/balance: "balance"
requires TCP or HTTP mode").

Indeed, we cannot perform the test during parsing as the effective proxy
type is not yet known. Moreover, thanks to b61147fd ("MEDIUM: log/balance:
merge tcp/http algo with log ones") we could potentially benefit from
this setting even in log mode, but for now it is ignored by all log
compatible load-balancing algorithms.
src/cfgparse-listen.c