]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: rationalize tx buffers between qcc/qcs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 5 Oct 2021 09:45:58 +0000 (11:45 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 13 Oct 2021 14:38:56 +0000 (16:38 +0200)
commitd3d97c6ae75fee3163cfde0c4f05234a9800fa51
tree6fe5356561be9bb4554d2cfa68f38a9d6bafa282
parente1b61090a015ceea9a6c4653d8b6e2c2afabb476
MEDIUM: mux-quic: rationalize tx buffers between qcc/qcs

Remove the tx mux ring buffers in qcs, which should be in the qcc. For
the moment, use a simple architecture with 2 simple tx buffers in the
qcs.

The first buffer is used by the h3 layer to prepare the data. The mux
send operation transfer these into the 2nd buffer named xprt_buf. This
buffer is only freed when an ACK has been received.

This architecture is functional but not optimal for two reasons :
- it won't limit the buffer usage by connection
- each transfer on a new stream requires an allocation
include/haproxy/mux_quic-t.h
src/h3.c
src/mux_quic.c