This commit is contained in:
Roman Trapeznikov 2023-07-12 16:56:14 +03:00
parent 0a1b889bdf
commit e56b71ffd1

View File

@ -440,7 +440,8 @@ void Connection::HandleMessagePacket(const std::vector<uint8_t>& buffer) {
} }
if (buffer[0] == BA_MESSAGE_MULTIPART_END) { if (buffer[0] == BA_MESSAGE_MULTIPART_END) {
if (multipart_buffer_[0] == BA_MESSAGE_MULTIPART) { if (multipart_buffer_[0] == BA_MESSAGE_MULTIPART) {
BA_LOG_ONCE(LogLevel::kError, "nested multipart message detected; kicking"); BA_LOG_ONCE(LogLevel::kError,
"nested multipart message detected; kicking");
Error(""); Error("");
} }
HandleMessagePacket(multipart_buffer_); HandleMessagePacket(multipart_buffer_);