]> git.kaiwu.me - haproxy.git/commit
MINOR: mux_quic: remove superfluous b_size() before b_alloc()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Apr 2026 08:40:05 +0000 (10:40 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 Apr 2026 13:59:28 +0000 (15:59 +0200)
commit444932346423bbb5dc966c04c8bce2bfcd463453
treef9e8358bac02eb312bfd4832c5b32b8d512e92b8
parent194bad6aaf32734e7548a5b0b4c20215b98b5b21
MINOR: mux_quic: remove superfluous b_size() before b_alloc()

b_alloc() does nothing if a buffer is already allocated. As such, it is
not necessary to call b_size() as a check prior to it. Removes its usage
in qcc_qstrm_recv() so that the code is similar to other b_alloc()
usages.
src/mux_quic_qstrm.c