mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
bugfix: connect auth
This commit is contained in:
@@ -203,10 +203,11 @@ local function connect_once(self)
|
||||
self.__authcoroutine = false
|
||||
if self.__sock then
|
||||
return ok
|
||||
else
|
||||
elseif ok then
|
||||
-- auth may change host, so connect again
|
||||
return connect_once(self)
|
||||
end
|
||||
return ok
|
||||
end
|
||||
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user