1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

hpack: dont reinterpret lws index for idx hdr 6 inc

This commit is contained in:
Andy Green 2017-11-06 13:31:13 +08:00
parent c7b536764f
commit 78ad6f9705

View file

@ -1188,6 +1188,7 @@ add_it:
return 1;
if (h2n->hpack_type == HPKT_LITERAL_HDR_VALUE ||
h2n->hpack_type == HPKT_INDEXED_HDR_6_VALUE_INCR ||
h2n->hpack_type == HPKT_LITERAL_HDR_VALUE_INCR ||
h2n->hpack_type == HPKT_LITERAL_HDR_VALUE_NEVER) {
m = wsi->u.hdr.parser_state;