]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h3: close connection on header list too big
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Dec 2023 16:42:43 +0000 (17:42 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Dec 2023 14:43:39 +0000 (15:43 +0100)
commitd077f7ccf48424fa40eea29c69283ec23732c96d
tree26e64843fe7e9e3744c4ae345146c011f81eab94
parent642016ce033aeb5ccc09b81b98db8046eefd2e2c
BUG/MINOR: h3: close connection on header list too big

When parsing a HTX response, if too many headers are present, stop
sending and close the connection with error code H3_INTERNAL_ERROR.

Previously, no error was reported despite the interruption of header
parsing. This cause an infinite loop. However, this is considered as
minor as it happens on the response path from backend side.

This should be backported up to 2.6.
It relies on previous commit
  "MINOR: h3: check connection error during sending".
src/h3.c