]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: fix memleak on frames rejected by transport
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Jun 2022 13:16:40 +0000 (15:16 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Jun 2022 15:59:06 +0000 (17:59 +0200)
commit43c090c1ed9d06100be1e75a87d4e372ba7fee94
tree9564201454e5b0e5829b92e91b265434e520098b
parent78fa559679b8a24b5b9bee017cac24e811a2d1da
BUG/MINOR: mux-quic: fix memleak on frames rejected by transport

When the MUX transfers a big amount of data to the client, the transport
layer may reject some of them because of the congestion controller
limit. Frames built by the MUX are thus dropped, even if streams transferred
data are kept in buffers for future new frames.

Thus, the MUX is required to free rejected frames. This fixes a memory
leak which may grow with important data transfers.

It should be backported to 2.6 after it has been tested and validated.
src/mux_quic.c