mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04:00
MINOR: qpack: support litteral field line with non-huff name
Support qpack header using a non-huffman encoded name in a litteral field line with name reference. This format is notably used by picoquic client and should improve haproxy interop covering.
This commit is contained in:
parent
d6a352a58b
commit
7d3aea50b8
1 changed files with 4 additions and 1 deletions
|
|
@ -315,7 +315,10 @@ int qpack_decode_fs(const unsigned char *raw, size_t len, struct buffer *tmp,
|
|||
b_add(tmp, nlen);
|
||||
list[hdr_idx].v = ist2(trash, nlen);
|
||||
}
|
||||
/* XXX Value string XXX */
|
||||
else {
|
||||
list[hdr_idx].v = ist2(raw, length);
|
||||
}
|
||||
|
||||
raw += length;
|
||||
len -= length;
|
||||
++hdr_idx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue