]> git.kaiwu.me - 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:30:00 +0000 (08:30 +0100)
commit15b939fbdd5885b6814454c273e64b8cd348b59d
tree8c70fb5f1c9bc7b496229a8f33fdd5e094bb043a
parentb416e0d02000f5a1bade4239a96c89c356ef320f
[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".
(cherry picked from commit 368480cf4570a0d6448741c704aebd53ac467aa9)
src/cfgparse.c