haproxy/dev
Willy Tarreau bf3dead20c MEDIUM: ring: remove the struct buffer from the ring
The purpose is to store a head and a tail that are independent so that
we can further improve the API to update them independently from each
other.

The struct was arranged like the original one so that as long as a ring
has its head set to zero (i.e. no recycling) it will continue to work.
The new format is already detectable thanks to the "rsvd" field which
indicates the number of reserved bytes at the beginning. It's located
where the buffer's area pointer previously was, so that older versions
of haring can continue to open the ring in repair mode, and newer ones
can use the fact that the upper bits of that variable are zero to guess
that it's working with the new format instead of the old one. Also let's
keep in mind that the layout will further change to place some alignment
constraints.

The haring tool will thus updated based on this and it detects that the
rsvd field is smaller than a page and that the sum of it with the size
equals the mapped size, in which case it uses the new dump_v2() function
instead of dump_v1(). The new function also creates a buffer from the
ring's area, size, head and tail and calls the generic one so that no
other code had to be adapted.
2024-03-25 17:34:19 +00:00
..
base64
coccinelle DEV: coccinelle: add endp_flags.cocci 2022-05-27 19:33:34 +02:00
flags DEV: flags/show-sess-to-flags: properly decode fd.state 2023-08-14 08:48:49 +02:00
h2 DEV: h2: support hex-encoded data sequences in mkhdr 2024-01-12 18:59:59 +01:00
haring MEDIUM: ring: remove the struct buffer from the ring 2024-03-25 17:34:19 +00:00
hpack DEV: hpack: fix trash build regression 2023-01-27 10:22:20 +01:00
patchbot DEV: patchbot: produce a verdict for too long commit messages 2024-01-09 14:46:04 +01:00
phash DEV: phash: add a trivial perfect hash generator for integers 2024-01-11 15:10:08 +01:00
plug_qdisc
poll DEV: poll: add support for epoll 2022-11-25 17:07:22 +01:00
qpack MINOR: qpack: implement standalone decoder tool 2022-06-15 15:42:10 +02:00
sslkeylogger DEV: sslkeylogger: handle file opening error 2023-10-03 15:23:35 +02:00
tcploop DEV: tcploop: add minimal support for unix sockets 2023-01-11 11:27:20 +01:00
trace
udp BUILD: address a few remaining calloc(size, n) cases 2024-02-10 11:37:27 +01:00