BUG/MEDIUM: spoe: Resolve the sink if a SPOE logs in a ring buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Feb 2021 09:56:41 +0000 (10:56 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Feb 2021 17:03:59 +0000 (18:03 +0100)
commit1d7d0f86b8a7f0d74b47e2afe08f87d9b963d9fb
treef4615599b2524d40138a274cc5170c86ec1d0c4d
parente0724580d334c4914100699bb6184346e81db9e8
BUG/MEDIUM: spoe: Resolve the sink if a SPOE logs in a ring buffer

If a SPOE filter is configured to send its logs to a ring buffer, the
corresponding sink must be resolved during the configuration post
parsing. Otherwise, the sink is undefined when a log message is emitted,
crashing HAProxy.

This patch must be backported as far as 2.2.
src/flt_spoe.c