BUG/BUILD: h3: fix wrong label name
A pretty ugly mistake introduced recently with an invalid goto statement
which prevents QUIC compilation on haproxy.
This must be backported on 2.6 as a complement to
60ef19f137
BUG/MINOR: h3/qpack: deal with too many headers
This commit is contained in:
parent
c003f50122
commit
fa7fadca19
2
src/h3.c
2
src/h3.c
|
@ -798,7 +798,7 @@ static int h3_resp_headers_send(struct qcs *qcs, struct htx *htx)
|
|||
}
|
||||
else if (type == HTX_BLK_HDR) {
|
||||
if (unlikely(hdr >= sizeof(list) / sizeof(list[0]) - 1))
|
||||
goto fail;
|
||||
goto err;
|
||||
list[hdr].n = htx_get_blk_name(htx, blk);
|
||||
list[hdr].v = htx_get_blk_value(htx, blk);
|
||||
hdr++;
|
||||
|
|
Loading…
Reference in New Issue