]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-be: add a "CC connection" backend TX buffer pool
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 24 Jun 2025 08:55:22 +0000 (10:55 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 26 Jun 2025 07:48:00 +0000 (09:48 +0200)
commit9cb2acd2f274c08eaa87b61c59684ffb79768bfe
tree5e266752e8394b556ca6e65648ffc6f23d69a841
parent1e6d8f199c9943eca13dec48e8676377356c81d0
MINOR: quic-be: add a "CC connection" backend TX buffer pool

A QUIC client must be able to close a connection sending Initial packets. But
QUIC client Initial packets must always be at least 1200 bytes long. To reduce
the memory use of TX buffers of a connection when in "closing" state, a pool
was dedicated for this purpose but with a too much reduced TX buffer size
(QUIC_MAX_CC_BUFSIZE).

This patch adds a "closing state connection" TX buffer pool with the same role
for QUIC backends.
include/haproxy/quic_tx-t.h
src/quic_conn.c
src/quic_tx.c