]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: support nul buffer with qc_free_ncbuf()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 17 May 2022 16:53:21 +0000 (18:53 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 14:25:07 +0000 (16:25 +0200)
commit7313f5ee7e4e87c2e01dae058603f17f4bd78d4c
tree659c16a85ec0b8227a69fa9e5150b6ff899b62ac
parentc830e1e9047fa3c8067bc85b74a6313dd9294969
BUG/MINOR: mux-quic: support nul buffer with qc_free_ncbuf()

qc_free_ncbuf() may now be used with a NCBUF_NULL buffer as parameter.
This is useful when using this function on a QCS with no allocated
buffer. This case was not reproduced for the moment, but it will soon
become more present as buffers will be released if emptied.

Also a call to offer_buffers() is added to conform with the dynamic
buffer management of haproxy.
src/mux_quic.c