modify plugin name
This commit is contained in:
@@ -163,6 +163,8 @@ class Http extends Component
|
|||||||
$open($request);
|
$open($request);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($response->isWritable()) {
|
||||||
while (($data = $response->recv()) instanceof Frame) {
|
while (($data = $response->recv()) instanceof Frame) {
|
||||||
try {
|
try {
|
||||||
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {
|
if ($data->opcode == WEBSOCKET_OPCODE_PING || $data->opcode == WEBSOCKET_OPCODE_PONG) {
|
||||||
@@ -173,6 +175,7 @@ class Http extends Component
|
|||||||
$this->logger()->error($throwable->getMessage());
|
$this->logger()->error($throwable->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
call_user_func($close, $response->fd);
|
call_user_func($close, $response->fd);
|
||||||
} catch (\Throwable $throwable) {
|
} catch (\Throwable $throwable) {
|
||||||
$this->logger()->error($throwable->getMessage());
|
$this->logger()->error($throwable->getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user