]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: server on-marked-* statement is ignored in default-server
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2014 09:36:15 +0000 (10:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Feb 2014 09:39:38 +0000 (10:39 +0100)
commitabd03df9dec9ac94d29b313b370c97a66db9bdfb
treee307bfef68354d965bd876dce7b28ac5e03d9ab8
parent518ceddebe944f80bc6eced0a2a2ce8d4f74d015
BUG/MINOR: config: server on-marked-* statement is ignored in default-server

Commits e0d1bfb ("[MINOR] Allow shutdown of sessions when a server
becomes unavailable") and eb2c24a ("MINOR: checks: add on-marked-up
option") mentionned that the directive was supported in default-server
but while it can be stated there, it's ignored because the config value
is not copied from the default server upon creation of a new server.
Moving the statement to the "server" lines works fine though. Thanks
to Baptiste Assmann for reporting and diagnosing this bug.

These features were introduced in 1.5-dev6 and 1.5-dev10 respectively,
so no backport is needed.
src/cfgparse.c