From ab0a5192a865000188808869d02ac60d42143a25 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 9 Oct 2020 19:07:01 +0200 Subject: [PATCH] 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 | 2 +- src/cfgparse-listen.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 083f1f6005..ce7000470f 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4498,7 +4498,7 @@ fullconn See also : "maxconn", "server" -grace