]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic-be: CC buffer released from wrong pool
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 17 Jul 2025 09:27:59 +0000 (11:27 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 17 Jul 2025 09:48:41 +0000 (11:48 +0200)
commit4eef300a2c565b2f0dc593e6ec0ad9a336bb611a
tree1fb640402fcbda865d9553ac3110341de176e0bf
parentb6d0ecd258cd613f8f93396b8ad43467da92edc4
BUG/MEDIUM: quic-be: CC buffer released from wrong pool

The "connection close state" TX buffer is used to build the datagram with
basically a CONNECTION_CLOSE frame to notify the peer about the connection
closure. It allows the quic_conn memory release and its replacement by a lighter
quic_cc_conn struct.

For the QUIC backend, there is a dedicated pool to build such datagrams from
bigger TX buffers. But from quic_conn_release(), this is the pool dedicated
to the QUIC frontends which was used to release the QUIC backend TX buffers.

This patch simply adds a test about the target of the connection to release
the "connection close state" TX buffers from the correct pool.

No backport needed.
src/quic_conn.c