modify plugin name

This commit is contained in:
2022-02-14 14:41:41 +08:00
parent 485b951e52
commit 12a401be8e
+5 -2
View File
@@ -157,8 +157,11 @@ class Http extends Component
try {
$response->upgrade();
$fdCollector->set($response->fd, $response);
if (is_callable($open)) {
$open($request);
if (is_callable($handshake)) {
call_user_func($handshake, $request, $response);
if (is_callable($open)) {
$open($request);
}
}
while (($data = $response->recv()) instanceof Frame) {
try {