]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: spoe: Don't queue a SPOE context if nothing is sent
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Jan 2018 09:45:47 +0000 (10:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Jan 2018 12:48:03 +0000 (13:48 +0100)
commit333694d7715952a9610a3e6f00807eaf5edd209a
tree4612337a8ee81f7bfc51af99f4923be19ea20144
parent336d3ef0e77192582c98b3c578927a529ceadd9b
MINOR: spoe: Don't queue a SPOE context if nothing is sent

When some messages must be sent to an agent, the SPOE context of the stream is
queued to be handled by an SPOE applet. If there is no available applet, a new
one is created, thus opening a connection with the agent.

Since the support of ACLs on messages, some processing can now be discarded. So,
to avoid opening a connection for nothing, the SPOE context is now queued after
the messages encoding.
src/flt_spoe.c