mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-03-12 08:55:16 +00:00
Update index.php
This commit is contained in:
parent
4c759745db
commit
ad21e1439f
|
@ -167,6 +167,11 @@ function relay_connect($params, $id = '') {
|
|||
);
|
||||
echo jsonrpc2_error_encode($error, $id);
|
||||
} else {
|
||||
$data = jsonrpc2_encode("relay_accept", array(
|
||||
"success" => true
|
||||
), $id);
|
||||
fwrite($conn, $data . "\r\n\r\n");
|
||||
|
||||
read_from_remote_server($remote_address, $remote_port, $scheme, null, $conn, $buffer_size, $id);
|
||||
fclose($conn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user