mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-05 14:47:07 +02:00
BUG/MINOR: h1-htx: Don't forget to init flags in h1_format_htx_msg function
The regression was introduced by commit 187ae28
("MINOR: h1-htx: Add
function to format an HTX message in its H1 representation"). We must be
sure the flags variable must be initialized in h1_format_htx_msg() function.
This patch must be backported with the commit above.
This commit is contained in:
parent
d252ec2beb
commit
516dfe16ff
@ -1127,7 +1127,7 @@ int h1_format_htx_msg(const struct htx *htx, struct buffer *outbuf)
|
||||
const struct htx_blk *blk;
|
||||
struct ist n, v;
|
||||
enum htx_blk_type type;
|
||||
uint32_t flags;
|
||||
uint32_t flags = 0;
|
||||
int has_eod = 0;
|
||||
|
||||
if (b_data(outbuf))
|
||||
|
Loading…
Reference in New Issue
Block a user