]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ncbmbuf: implement advance operation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 16 Oct 2025 13:05:50 +0000 (15:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 22 Oct 2025 13:04:06 +0000 (15:04 +0200)
commit8b8ab2824e7cc74fa2d93b5d71ca1aaec7925e15
tree3d611b9af956d8671bc9b859261827d7bd796509
parent42c495f3d7e953329e768a8fc52033a3784e9229
MINOR: ncbmbuf: implement advance operation

Implement ncbmb_advance() function for the ncbmbuf type. This allows to
remove bytes in front of the buffer, regardless of the existing gaps.
This is implemented by resetting the corresponding bits of the bitmap.

As the previous patch, this commit must be backported prior to the fix
to come on QUIC CRYPTO frames parsing.
include/haproxy/ncbmbuf.h
src/ncbmbuf.c