Compare commits

..

1 Commits

Author SHA1 Message Date
cb7205718f feat: udp stream 2025-10-01 22:06:33 +02:00

View File

@@ -115,6 +115,7 @@ bool ClusterManager::isClusterEventMsg(const char* msg) {
} }
bool ClusterManager::isRawMsg(const char* msg) { bool ClusterManager::isRawMsg(const char* msg) {
// RAW frames must be "RAW:<payload>"; enforce the delimiter so we skip things like "RAW_HEARTBEAT".
const std::size_t prefixLen = strlen(ClusterProtocol::RAW_MSG); const std::size_t prefixLen = strlen(ClusterProtocol::RAW_MSG);
if (strncmp(msg, ClusterProtocol::RAW_MSG, prefixLen) != 0) { if (strncmp(msg, ClusterProtocol::RAW_MSG, prefixLen) != 0) {
return false; return false;