mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-19 02:29:31 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue