mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 11:03:12 +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]
|
||||
if s == nil then
|
||||
print("socket: drop package from " .. id)
|
||||
driver.drop(data)
|
||||
driver.drop(data, size)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user