modify plugin name
This commit is contained in:
+5
-2
@@ -157,8 +157,11 @@ class Http extends Component
|
|||||||
try {
|
try {
|
||||||
$response->upgrade();
|
$response->upgrade();
|
||||||
$fdCollector->set($response->fd, $response);
|
$fdCollector->set($response->fd, $response);
|
||||||
if (is_callable($open)) {
|
if (is_callable($handshake)) {
|
||||||
$open($request);
|
call_user_func($handshake, $request, $response);
|
||||||
|
if (is_callable($open)) {
|
||||||
|
$open($request);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
while (($data = $response->recv()) instanceof Frame) {
|
while (($data = $response->recv()) instanceof Frame) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user