]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Add a ring buffer implementation for QUIC
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 30 Jun 2021 12:25:10 +0000 (14:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
commitc6bc185c185e366e57beed99ddfe609f7b5507b6
treef2ba15b317c02205986f0b252138cc8baddbd309
parentf3d078d22e6f7c92e4ab416b6c4b4b5b6f5a7347
MINOR: quic: Add a ring buffer implementation for QUIC

This implementation is inspired from Linux kernel circular buffer implementation
(see include/linux/circ-buf.h). Such buffers may be used at the same time both
by writer and reader (lock-free).
Makefile
include/haproxy/cbuf-t.h [new file with mode: 0644]
include/haproxy/cbuf.h [new file with mode: 0644]
src/cbuf.c [new file with mode: 0644]