mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
@@ -262,7 +262,7 @@ function server.start(conf)
|
|||||||
if p == nil then
|
if p == nil then
|
||||||
p = { fd }
|
p = { fd }
|
||||||
u.response[session] = p
|
u.response[session] = p
|
||||||
local ok, result = pcall(conf.request_handler, u.username, message)
|
local ok, result = pcall(request_handler, u.username, message)
|
||||||
-- NOTICE: YIELD here, socket may close.
|
-- NOTICE: YIELD here, socket may close.
|
||||||
result = result or ""
|
result = result or ""
|
||||||
if not ok then
|
if not ok then
|
||||||
|
|||||||
Reference in New Issue
Block a user