]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hq-interop: simplify parser requirement
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 4 Oct 2023 13:46:06 +0000 (15:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 4 Oct 2023 15:32:23 +0000 (17:32 +0200)
commit544e320f8093f74403a7826770304c7f5705db9a
tree6182f14e9957d767bba8cce597ed7f27f2b6d345
parentaaa326b571c04c856e4b8f157f57601aa472d17a
BUG/MINOR: hq-interop: simplify parser requirement

hq-interop should be limited for QUIC testing. As such, its code should
be kept plain simple and not implement too many things.

This patch fixes issues which may cause rare QUIC interop failures :
- remove some unneeded BUG_ON() as parser should not be too strict
- remove support of partial message parsing
- ensure buffer data does not wrap as it was not properly handled. In
  any case, this should never happen as only a single message will be
  stored for each qcs buffer.

This should be backported up to 2.6.
src/hq_interop.c