Fix wrong detection of neverIndex bit
This commit is contained in:
parent
5b572d8d59
commit
961dcf614a
|
@ -1709,7 +1709,7 @@ ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater,
|
||||||
inflater->state = NGHTTP2_HD_STATE_READ_INDEX;
|
inflater->state = NGHTTP2_HD_STATE_READ_INDEX;
|
||||||
}
|
}
|
||||||
inflater->index_required = (*in & 0x40) != 0;
|
inflater->index_required = (*in & 0x40) != 0;
|
||||||
inflater->no_index = (*in & 0x10u) != 0;
|
inflater->no_index = (*in & 0xf0u) == 0x10u;
|
||||||
DEBUGF(fprintf(stderr,
|
DEBUGF(fprintf(stderr,
|
||||||
"inflatehd: indexing required=%d, no_index=%d\n",
|
"inflatehd: indexing required=%d, no_index=%d\n",
|
||||||
inflater->index_required,
|
inflater->index_required,
|
||||||
|
|
Loading…
Reference in New Issue