mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
bugfix: drop multicast package
This commit is contained in:
@@ -245,7 +245,7 @@ _drop_queue(struct message_queue *q) {
|
|||||||
++s;
|
++s;
|
||||||
int type = msg.sz >> HANDLE_REMOTE_SHIFT;
|
int type = msg.sz >> HANDLE_REMOTE_SHIFT;
|
||||||
if (type == PTYPE_MULTICAST) {
|
if (type == PTYPE_MULTICAST) {
|
||||||
assert(msg.sz == 0);
|
assert((msg.sz & HANDLE_MASK) == 0);
|
||||||
skynet_multicast_dispatch((struct skynet_multicast_message *)msg.data, NULL, NULL);
|
skynet_multicast_dispatch((struct skynet_multicast_message *)msg.data, NULL, NULL);
|
||||||
} else {
|
} else {
|
||||||
free(msg.data);
|
free(msg.data);
|
||||||
|
|||||||
Reference in New Issue
Block a user