mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 11:03:12 +00:00
bugfix: watchdog socket data
This commit is contained in:
@@ -85,7 +85,7 @@ function MSG.data(fd, msg, sz)
|
||||
if agent then
|
||||
skynet.redirect(agent, c.client, "client", 0, msg, sz)
|
||||
else
|
||||
skynet.send(watchdog, "lua", "socket", "data", netpack.tostring(msg, sz))
|
||||
skynet.send(watchdog, "lua", "socket", "data", fd, netpack.tostring(msg, sz))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user