mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-04 13:31:35 +02:00
Instead of emitting a warning, since we don't need the ring struct anymore, we can just read what we need, parse the buffer and use the advertised offset. Thus for now -f is simply ignored.
This needs to be built from the top makefile, for example : make dev/haring/haring If HAProxy is built with special options such -DDEBUG_THREAD or with multi-threading support enabled (which changes the ring's header size), it can be worth reusing the same build options for haring, usually they will remain compatible, and will simplify the handling of different file layouts, at the expense of dragging more dependencies into the executable.