]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ring: support arbitrary delimiters through ring_dispatch_messages()
authorWilly Tarreau <w@1wt.eu>
Mon, 31 Mar 2025 16:17:35 +0000 (18:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Apr 2025 12:36:35 +0000 (14:36 +0200)
commit0be6d73e889c4952aac7652638afa79ba2f6c752
tree6fa96f4cae28d91c75847cc9dc91a0c3e6be2f0e
parent038a372684e2230c0c4be3504a419562ab5743ed
MINOR: ring: support arbitrary delimiters through ring_dispatch_messages()

In order to support delimiting output events with other characters than
just the LF, let's pass the delimiter through the API. The default remains
the LF, used by applet_append_line(), and ignored by the log forwarder.
include/haproxy/applet.h
include/haproxy/log.h
include/haproxy/ring.h
src/applet.c
src/log.c
src/ring.c
src/sink.c