[DEV] add log in error multiple frame

This commit is contained in:
Edouard DUPIN 2016-12-15 21:00:31 +01:00
parent 39660fae32
commit 85c8aeaad8

View File

@ -169,7 +169,7 @@ void enet::WebSocket::onReceiveData(enet::Tcp& _connection) {
}
m_lastReceive = std::chrono::steady_clock::now();
if ((opcode & 0x80) == 0) {
ENET_ERROR("Multiple frames ... NOT managed ...");
ENET_ERROR("Multiple frames ... NOT managed ... : " << (opcode & 0x80) << (opcode & 0x40) << (opcode & 0x20) << (opcode & 0x10) << (opcode & 0x08) << (opcode & 0x04) << (opcode & 0x02) << (opcode & 0x01));
m_interface->stop(true);
return;
}