]> git.kaiwu.me - haproxy.git/commit
MINOR: ncbmbuf: implement add
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 14 Oct 2025 14:17:14 +0000 (16:17 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 22 Oct 2025 13:04:06 +0000 (15:04 +0200)
commit1e1a3aa6aad15907f8e5b631bff0698aac55c34c
treec1981943a527f5ba968d725a5ffd21534fe337f8
parentb9f91ad3ff29c373a404b43b3d715955314c7b4f
MINOR: ncbmbuf: implement add

This patch implements add operation for ncbmbuf type.

This function is simpler than its ncbuf counterpart. Indeed, for now
only NCB_ADD_OVERWRT mode is supported. This compromise has been chosen
as ncbmbuf will be first used for QUIC CRYPTO frames handling, which
does not mandate to compare existing filled blocks during insertion.

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