]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] the "source" keyword must first clear optional settings
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Mar 2009 07:27:21 +0000 (08:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 1 Mar 2009 07:27:21 +0000 (08:27 +0100)
commit368480cf4570a0d6448741c704aebd53ac467aa9
treed2a527c3a3a8d69012e729e5fcb6ea74f66b2913
parent7b92db4cd5c106f5110c871503de11aabd0776eb
[BUG] the "source" keyword must first clear optional settings

Problem reported by John Lauro. When "source ... usesrc ..." is
set in the defaults section, it is not possible anymore to remove
the "usesrc" part when declaring a more precise "source" in a
backend. The only workaround was to declare it by server.

We need to clear optional settings when declaring a new "source".
The problem was the same with the "interface" declaration.
src/cfgparse.c