mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
cluster process publish message only for known nodes. (#8856)
This commit is contained in:
parent
97108845e2
commit
8526e04e7b
@ -2148,6 +2148,8 @@ int clusterProcessPacket(clusterLink *link) {
|
||||
hdr->sender, hdr->data.fail.about.nodename);
|
||||
}
|
||||
} else if (type == CLUSTERMSG_TYPE_PUBLISH) {
|
||||
if (!sender) return 1; /* We don't know that node. */
|
||||
|
||||
robj *channel, *message;
|
||||
uint32_t channel_len, message_len;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user