Skip to content
Snippets Groups Projects
Commit 8fc673ee authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix typo resulting in masking out high byte of http2 sequence numbers

parent 88025588
No related branches found
No related tags found
No related merge requests found
...@@ -1767,7 +1767,7 @@ static int process_read(transport *t, gpr_slice slice) { ...@@ -1767,7 +1767,7 @@ static int process_read(transport *t, gpr_slice slice) {
/* fallthrough */ /* fallthrough */
case DTS_FH_5: case DTS_FH_5:
GPR_ASSERT(cur < end); GPR_ASSERT(cur < end);
t->incoming_stream_id = (((gpr_uint32)*cur) << 24) & 0x7f; t->incoming_stream_id = (((gpr_uint32)*cur) & 0x7f) << 24;
if (++cur == end) { if (++cur == end) {
t->deframe_state = DTS_FH_6; t->deframe_state = DTS_FH_6;
return 1; return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment