]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: adjust Rx data consumption API
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 4 Mar 2025 14:23:28 +0000 (15:23 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 7 Mar 2025 11:06:26 +0000 (12:06 +0100)
commit6b5607d66f15df4b246de6c5b8d94363f4b056d6
tree4694c3a3ff3f3e6f686c1480e79e76277b9c7718
parenta4f31ffeebf380033d16598450353a5e1e1da80f
MINOR: mux-quic: adjust Rx data consumption API

HTTP/3 data are converted into HTX via qcc_decode_qcs() function. On
completion, these data are removed from QCS Rx buffer via qcs_consume().

This patch adjust qcs_consume() API with several changes. Firstly, the
Rx buffer instance to operate on must now be specified as a new argument
to the function. Secondly, buffer liberation when all data were removed
from qcs_consume() is extracted up to qcc_decode_qcs() caller.

No functional change with this patch. The objective is to have an API
which can be better adapted to multiple Rx buffers per QCS instance.
src/mux_quic.c