This commit is contained in:
2021-03-08 18:33:55 +08:00
parent 81461f7b5a
commit e1dd10e210
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class OnClose extends Callback
*/
private function name($server_port): string
{
return 'listen ' . $server_port . ' ' . Event::SERVER_CLOSE;
return 'listen ' . $server_port . ' ' . Event::SERVER_CLIENT_CLOSE;
}