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.
diff --git a/src/qpack-dec.c b/src/qpack-dec.c
index a67ecb7..c130a34 100644
--- a/src/qpack-dec.c
+++ b/src/qpack-dec.c
@@ -315,7 +315,10 @@
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;