Skip to content

Commit

Permalink
Improve http2
Browse files Browse the repository at this point in the history
  • Loading branch information
hggq committed Jan 1, 2024
1 parent 95f26be commit a038d61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vendor/httpserver/src/http2_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ void http2parse::processblockheader(const unsigned char *buffer, unsigned int bu
{
unsigned int bsteamid = 0;
//uchar weight ,4 char streamid, may be not use big then 3 char recond number
bsteamid = (unsigned char)buffer[j + 4] & 0x7F;
//height 8 bit use save weight
bsteamid = (unsigned char)buffer[j + 4];// & 0x7F;
j++;
bsteamid = bsteamid << 8 | (unsigned char)buffer[j];
j++;
Expand Down

0 comments on commit a038d61

Please sign in to comment.