]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: release Tx buffer on each send
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 8 Aug 2022 14:07:30 +0000 (16:07 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 9 Aug 2022 14:00:02 +0000 (16:00 +0200)
commit5b68986d7799eab504b6f4194eb7c3a89bb73406
treea6bcdbc3cc4e4f09606e882d2cae7e7f8cf9b5c8
parentf2476053f9304709dea595db413537023dba2d0e
MINOR: quic: release Tx buffer on each send

Complete refactor of quic-conn Tx buffer. The buffer is now released
on every send operation completion. This should help to reduce memory
footprint as now Tx buffers are allocated and released on demand.

To simplify allocation/free of quic-conn Tx buffer, two static functions
are created named qc_txb_alloc() and qc_txb_release().
src/xprt_quic.c