We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 826e690 commit 5eaaf4eCopy full SHA for 5eaaf4e
source/server/ws/ws.cpp
@@ -318,7 +318,7 @@ void WebSocket::PrepareReceiveFrame(const void* buffer, size_t size)
318
}
319
320
uint8_t opcode = _ws_receive_frame_buffer[0] & 0x0F;
321
- [[maybe_unused]] bool fin = ((_ws_receive_frame_buffer[0] >> 7) & 0x01) != 0;
+ bool fin = ((_ws_receive_frame_buffer[0] >> 7) & 0x01) != 0;
322
bool mask = ((_ws_receive_frame_buffer[1] >> 7) & 0x01) != 0;
323
size_t payload = _ws_receive_frame_buffer[1] & (~0x80);
324
0 commit comments