mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
msg here never be nil
This commit is contained in:
@@ -148,7 +148,7 @@ skynet.register_protocol {
|
||||
id = 3,
|
||||
pack = function(...) return ... end,
|
||||
unpack = function(msg,sz)
|
||||
if msg == nil then
|
||||
if sz == 0 then
|
||||
skynet.timeout(0, reconnect)
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user