]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: mark "grace" as deprecated
authorWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 17:07:01 +0000 (19:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 17:07:01 +0000 (19:07 +0200)
commitab0a5192a865000188808869d02ac60d42143a25
tree6d7f67c57a679126699ac20dd15d53f61da642eb
parente03204c8e1d6111fbbdef105e2cafe9b0a772881
MEDIUM: config: mark "grace" as deprecated

This was introduced 15 years ago or so to delay the stopping of some
services so that a monitoring device could detect its port being down
before services were stopped. Since then, clean reloads were implemented
and this doesn't cope well with reload at all, preventing the new process
from seamlessly binding, and forcing processes to coexist with half-baked
configurations.

Now it has become a real problem because there's a significant code
portion in the proxies that is solely dedicated to this obsolete feature,
and dealing with its special cases eases the introduction of bugs in
other places so it's about time that it goes.

We could tentatively schedule its removal for 2.4 with a hard deadline
for 2.5 in any case.
doc/configuration.txt
src/cfgparse-listen.c