]> git.kaiwu.me - haproxy.git/commit
CLEANUP: h3: fix documentation of h3_rcv_buf()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Feb 2025 10:28:07 +0000 (11:28 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Feb 2025 16:31:40 +0000 (17:31 +0100)
commit0aa35289b3b51e09a5757c9991212ec416d281f2
treed48611d10ee2a06f11ba0d81c44241702d8db8eb
parentf6648d478b632bbd243ab374e24c02d566a4112b
CLEANUP: h3: fix documentation of h3_rcv_buf()

Return value of h3_rcv_buf() is incorrectly documented. Indeed, it may
return a positive value to indicate that input bytes were converted into
HTX. This is especially important, as caller uses this value to consume
the reported data amount in QCS Rx buffer.

This should be backported up to 2.6. Note that on 2.8, h3_rcv_buf() was
named h3_decode_qcs().
src/h3.c