]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Wrong returned status by qc_build_frms()
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 25 Apr 2022 13:42:56 +0000 (15:42 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 14:22:40 +0000 (16:22 +0200)
commit573b56b774d61cedaf3a6323a5dfb7993b810a94
treeeb2cb5c9ec7e4105cb571a9a2322aa3706c5da49
parent337108ecda4bf43aaed36be9b1d8c02a64f19385
BUG/MINOR: quic: Wrong returned status by qc_build_frms()

This function must return a successful status as soon as it could be build
a frame to be embedded by a packet. This behavior was broken by the last
modifications. This was due to a dangerous "ret = 1" statement inside
a loop. This statement must be reach only if we go out of a switch/case
after a "break" statement.
Add comments to mention this information.
src/xprt_quic.c