modify plugin name

This commit is contained in:
2022-02-14 14:42:07 +08:00
parent 12a401be8e
commit a4bd152b59
+3
View File
@@ -163,6 +163,8 @@ class Http extends Component
$open($request);
}
}
if ($response->isWritable()) {
while (($data = $response->recv()) instanceof Frame) {
try {
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {
@@ -173,6 +175,7 @@ class Http extends Component
$this->logger()->error($throwable->getMessage());
}
}
}
call_user_func($close, $response->fd);
} catch (\Throwable $throwable) {
$this->logger()->error($throwable->getMessage());