MEDIUM: proxy: remove obsolete "monitor-net"
authorWilly Tarreau <w@1wt.eu>
Wed, 14 Oct 2020 13:55:23 +0000 (15:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Oct 2020 19:47:04 +0000 (21:47 +0200)
commit9e9919dd8bd99edd5eca675b81c99904af35fe6e
tree9e7a7592c5f09a1a57f8d506e1782fdfef6c0cf5
parent77e0daef9fea7cfce756aee31bd2b13819eff79a
MEDIUM: proxy: remove obsolete "monitor-net"

As discussed here during 2.1-dev, "monitor-net" is totally obsolete:

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

It's fundamentally incompatible with usage of SSL, 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 if ..." 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/listener-t.h
include/haproxy/proxy-t.h
src/cfgparse-listen.c
src/cfgparse.c
src/session.c