diff --git a/include/cinatra/websocket.hpp b/include/cinatra/websocket.hpp index 82178960..2fc94a72 100644 --- a/include/cinatra/websocket.hpp +++ b/include/cinatra/websocket.hpp @@ -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; };