mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
throw it out err (#2003)
This commit is contained in:
@@ -450,7 +450,7 @@ function M.accept(socket_id, handle, protocol, addr, options)
|
|||||||
if closed then
|
if closed then
|
||||||
try_handle(ws_obj, "close")
|
try_handle(ws_obj, "close")
|
||||||
else
|
else
|
||||||
try_handle(ws_obj, "error")
|
try_handle(ws_obj, "error", err)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- error(err)
|
-- error(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user