MEDIUM: log/sink: make the log forwarder code use ring_dispatch_messages()
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Feb 2024 16:05:11 +0000 (17:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit8f3edf2ac6b6a2a86be385cae070327693b277e3
tree9190a088f7573945653279cf450be90e85a25e80
parentc262442b1aec910cfcc2f29f36247af6a5c56f03
MEDIUM: log/sink: make the log forwarder code use ring_dispatch_messages()

This code becomes even simpler and almost does not need any knowledge
of the structure of the ring anymore. It even highlighted that an old
race had not been fixed due to code duplication, but that's now done.
src/sink.c