Skip to content

Commit

Permalink
fix len
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed May 3, 2024
1 parent 5554ec4 commit e2888fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cinatra/websocket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class websocket {
unsigned char msg_opcode_ = 0;
unsigned char msg_fin_ = 0;

char msg_header_[10];
char msg_header_[14];
ws_head_len len_bytes_ = SHORT_HEADER;
};

Expand Down

0 comments on commit e2888fc

Please sign in to comment.