]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: protocol: directly call enable_listener() from protocol_enable_all()
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2020 14:41:05 +0000 (16:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 Oct 2020 09:27:30 +0000 (11:27 +0200)
commit5b95ae6b323c40331e668117a5dbd4a0428d7b8e
tree1d429ad8dbf7dbd05a80a02b2f8dfe0bee72e708
parent7834a3f70f34b275da1e76bb6c5acd2cf6328400
MINOR: protocol: directly call enable_listener() from protocol_enable_all()

protocol_enable_all() calls proto->enable_all() for all protocols,
which is always equal to enable_all_listeners() which in turn simply is
a generic loop calling enable_listener() always returning ERR_NONE. Let's
clean this madness by first calling enable_listener() directly from
protocol_enable_all().
src/protocol.c