]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: protocol: explicitly start the receiver before the listener
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Sep 2020 16:22:11 +0000 (18:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Sep 2020 20:08:07 +0000 (22:08 +0200)
commitfc974887ceefd6716b6de5b089e97f312ab90a87
treea428b174e37765fe0d67f1b574ab363c954f9c2e
parent9eda7a6d62bbf4a01f12ef98c812bdae9b3c974b
MEDIUM: protocol: explicitly start the receiver before the listener

Now protocol_bind_all() starts the receivers before their respective
listeners so that ultimately we won't need the listeners for non-
connected protocols.

We still have to resort to an ugly trick to set the I/O handler in
case of syslog over UDP because for now it's still not set in the
receiver, so we hard-code it.
src/protocol.c