]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: authorize frontend and listen without bind.
authorEmeric Brun <ebrun@exceliance.fr>
Mon, 1 Oct 2012 15:10:30 +0000 (17:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 06:34:39 +0000 (08:34 +0200)
commitc6678e21bb88a65e9b05de2f7f4920db1a514ba8
tree655a97a64a9bfed9c594fb84f34a29ec8ccc405b
parentf5da49392a96083e56a21cf3fd57c935b40d8aee
MEDIUM: config: authorize frontend and listen without bind.

This allows to easily add/remove "bind" entries to a frontend without
being forced to remove it when the last entry is temporarily removed.
While "disabled" may sometimes work in a frontend, it becomes trickier
on "listen" sections which can also hold servers and be referenced by
other frontends.

Note that a "listen" section with no "bind" is equivalent to a "backend"
section.

Configs without any listeners are still reported as invalid and refuse
to load.
src/cfgparse.c