]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: proxy: remove obsolete "mode health"
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Oct 2020 13:44:27 +0000 (15:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Oct 2020 19:47:04 +0000 (21:47 +0200)
commit77e0daef9fea7cfce756aee31bd2b13819eff79a
treedcc9e5f09066e1ccf3d727c218b2727ce0e0fe8c
parent2717965387f4f44df923ce988bccc128276341fb
MEDIUM: proxy: remove obsolete "mode health"

As discussed here during 2.1-dev, "mode health" is totally obsolete:

   https://www.mail-archive.com/haproxy@formilux.org/msg35204.html

It's fundamentally incompatible with usage of SSL, doesn't support
source filtering, and imposes the presence of file descriptors with
hard-coded syscalls directly in the generic accept path.

It's very unlikely that anyone has used it in the last 10 years for
anything beyond testing. In the worst case if anyone would depend
on it, replacing it with "http-request return status 200" and "mode
http" would certainly do the trick.

The keyword is still detected as special by the config parser to help
users update their configurations appropriately.
doc/configuration.txt
include/haproxy/proxy-t.h
src/cfgparse-listen.c
src/cfgparse.c
src/proxy.c
src/session.c