]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: free RX buf if empty
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 14:19:47 +0000 (16:19 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 14:25:07 +0000 (16:25 +0200)
commit8b87b15c22ffa04b27cc49c978061956519655d1
tree5f625c21940f1e3379f5d517c9dd798805a095c5
parent7313f5ee7e4e87c2e01dae058603f17f4bd78d4c
MINOR: mux-quic: free RX buf if empty

Release the QCS RX buffer if emptied afer qcs_consume(). This improves
memory usage and avoids a QCS to keep an allocated buffer, particularly
when no data is received anymore. Buffer is automatically reallocated if
needed via qc_get_ncbuf().
src/mux_quic.c