]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: disable fast-forward on buffer alloc failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Dec 2023 15:07:10 +0000 (16:07 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Dec 2023 15:14:23 +0000 (16:14 +0100)
commitcfa6d4cdd058ea112c461349a39d095ba96825e4
tree0bd9e112ba8116844b6fd752391fe9e1c64c69db
parent2144d2418651c1f76b91cc1f6e745feecdefcb00
BUG/MINOR: h3: disable fast-forward on buffer alloc failure

If QCS Tx buffer cannot be allocated in nego_ff callback, disable
fast-forward for this connection and return immediately. If snd_buf is
later finally used but still no buffer can being allocated, the
connection will be closed on error.

This should fix coverity reported in github issue #2390.

This should be backported up to 2.9.
src/h3.c