mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
driver.drop need 2 argument
This commit is contained in:
@@ -38,7 +38,7 @@ socket_message[1] = function(id, size, data)
|
|||||||
local s = socket_pool[id]
|
local s = socket_pool[id]
|
||||||
if s == nil then
|
if s == nil then
|
||||||
print("socket: drop package from " .. id)
|
print("socket: drop package from " .. id)
|
||||||
driver.drop(data)
|
driver.drop(data, size)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user