update to 2.5.0 (build 415)

This commit is contained in:
crazywhalecc
2021-07-09 10:43:00 +08:00
parent e57cc43500
commit d67dfe46f6
5 changed files with 134 additions and 11 deletions

View File

@@ -190,6 +190,6 @@ class Hello
*/
public function closeUnknownConn() {
Console::info("Unknown connection , I will close it.");
server()->close(ctx()->getConnection()->getFd());
server()->disconnect(ctx()->getConnection()->getFd());
}
}