DEV: haring: split the code between ring and buffer
authorWilly Tarreau <w@1wt.eu>
Mon, 4 Mar 2024 18:12:33 +0000 (19:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 9 Mar 2024 10:23:52 +0000 (11:23 +0100)
commit77d7c352433f46dd490763429d4aa1e02471f0bb
treeba14e29457bf744a1b056b9497e4da4eb3894ca0
parent4dddbb63a02798be6d3f1875c341281ede26ef98
DEV: haring: split the code between ring and buffer

By splitting the initialization and the parsing of the ring, we'll ease
the support for multiple ring sizes and get rid of the annoyances of the
optional lock.
dev/haring/haring.c