BUG/MUNOR: http-ana: Use an unsigned integer for http_msg flags
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Apr 2023 06:58:42 +0000 (08:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Apr 2023 06:58:45 +0000 (08:58 +0200)
commit6bb26d41fed6f0f19f9ecb76bbc034f185ee9b33
tree31ce02b2db005d71cdca98de2c4595d9979b8fcf
parent8eeec38bfa86bb126b026539e2b4744c73c701e2
BUG/MUNOR: http-ana: Use an unsigned integer for http_msg flags

In the commit 2954bcc1e (BUG/MINOR: http-ana: Don't switch message to DATA
when waiting for payload), the HTTP message flags were extended and don't
fit anymore in an unsigned char. So, we must use an unsigned integer now. It
is not a big deal because there was already a 6-bytes hole in the structure,
just after the flags. Now, there are a 3-bytes hold before.

This patch should fix the issue #2105. It is 2.8-specific, no backport
needed.
include/haproxy/http_ana-t.h