]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: rename confusing qc_purge_txbuf() to qc_flush_txbuf()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 8 Oct 2026 13:55:27 +0000 (15:55 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 16 Oct 2026 08:01:41 +0000 (10:01 +0200)
commit73ebe0b3b4458767aaa4fe03dc99c1309f2daf04
treee64e3bfc042463d6aa87308ef446c6e3b5880454
parent205a071d9d9148cc9b893a454370f129bd9115fc
MINOR: quic: rename confusing qc_purge_txbuf() to qc_flush_txbuf()

Function qc_purge_txbuf() naming is confusing as it may imply that
prepared data are simply discarded. In fact, the objective of this
function is to first send all of its content before clearing it.

This names also conflicts with qc_purge_tx_buf() (note the extra
underscore) which reset the buffer. Thus, renaming the first one is
better to prevent any confusion.
include/haproxy/quic_tx.h
src/quic_tx.c