]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ncbuf/test: remove list dependency for standalone tests
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 Nov 2026 10:50:50 +0000 (11:50 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 19 Nov 2026 14:08:36 +0000 (15:08 +0100)
commit17c0c6c7690b8225e7a478a6977ac1ddcfc54917
treeff4c95ba0e0b9028b33002d3b65dc4a7d42a8f98
parent102fad424f3fa7e898f7f0ca99afe46fe052a2c2
BUG/MINOR: ncbuf/test: remove list dependency for standalone tests

List dependency prevents compiling ncbuf module as a standalone unit to
execute unit tests. This was required for the random insertion test,
where each inserted offset is saved in a list.

Removes the list dependency and implements a simple single-linked list
for random offsets. This fixes compilation in standalone mode.

This should be backported up to 3.0.
src/ncbuf.c