]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-spop: always clear MUX_MFULL and DEM_MROOM when clearing the mbuf
authorWilly Tarreau <w@1wt.eu>
Mon, 2 Sep 2024 17:54:09 +0000 (19:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Sep 2024 12:39:04 +0000 (14:39 +0200)
commitf8bff3b53103469dec94d233b9a8e11a35bdf562
treeb6dc95f60ad249fc700def3670c3f0e19b57cb55
parent830e50561c6636be4ada175d03e8df992abbbdcd
BUG/MINOR: mux-spop: always clear MUX_MFULL and DEM_MROOM when clearing the mbuf

That's the equivalent of the mux-h2 one, except that here there's no
real risk to loop since normally we cannot feed data that bypass the
closed state check (e.g. no zero-copy forward). But it still remains
dirty to be able to leave and empty mbuf with MFULL and MROOM set, so
better clear them as well.

No backport is needed since this is only in 3.1.
src/mux_spop.c