]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: backend: balance uri specific options were lost across defaults
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 15:29:52 +0000 (16:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jan 2019 18:33:17 +0000 (19:33 +0100)
commit602a499da5e81d6b4cfe8410f0fc6d53c1e06745
treeba1421736bd7198ece8ac19dbda0ad0d19ec8778
parent089eaa0ba73913187e93d52c3ea34faa01fd8f9c
BUG/MINOR: backend: balance uri specific options were lost across defaults

The "balance uri" options "whole", "len" and "depth" were not properly
inherited from the defaults sections. In addition, "whole" and "len"
were not even reset when parsing "uri", meaning that 2 subsequent
"balance uri" statements would not have the expected effect as the
options from the first one would remain for the second one.

This may be backported to all maintained versions.
src/backend.c
src/cfgparse-listen.c