modify plugin name

This commit is contained in:
2022-02-14 14:47:53 +08:00
parent 7a0322d8b3
commit e094733d7b
+3 -4
View File
@@ -159,11 +159,10 @@ class Http extends Component
$fdCollector->set($response->fd, $response);
if (is_callable($handshake)) {
call_user_func($handshake, $request, $response);
if (is_callable($open)) {
$open($request);
}
}
if (is_callable($open)) {
$open($request);
}
while (($data = $response->recv()) instanceof Frame) {
try {
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {