]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: check return values of htx_add_* on headers parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Dec 2022 09:58:05 +0000 (10:58 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 15 Dec 2022 10:48:30 +0000 (11:48 +0100)
commitc4913f6b54e8b323b9ecbd2a711b2cbf486afae0
tree1c0afd6fb4a967f202c3cfade884c445706e3a1a
parent788fc054016761d835cff5e560f9f250c4c739d6
MINOR: h3: check return values of htx_add_* on headers parsing

Check return values of htx_add_header()/htx_add_eof() during H3 HEADERS
conversion to HTX. In case of error, the connection is interrupted with
a CONNECTION_CLOSE.

This commit is useful to detect abnormal situation on headers parsing.
It should be backported up to 2.7.
src/h3.c