mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-07-15 08:48:08 +00:00
Update index.php
This commit is contained in:
parent
896e6d549b
commit
6ee1a13158
|
@ -124,7 +124,6 @@ function relay_request($params, $id = '') {
|
|||
$remote_address = $params['remote_address'];
|
||||
$remote_port = intval($params['remote_port']);
|
||||
$scheme = $params['scheme'];
|
||||
$url = $params['url'];
|
||||
$datetime = $params['datetime']; // format: %Y-%m-%d %H:%M:%S.%f
|
||||
|
||||
if (in_array($scheme, array("https", "ssl", "tls"))) {
|
||||
|
@ -155,7 +154,6 @@ function relay_connect($params, $id = '') {
|
|||
$remote_address = $params['remote_address'];
|
||||
$remote_port = intval($params['remote_port']);
|
||||
$scheme = $params['scheme'];
|
||||
$url = $params['url'];
|
||||
$datetime = $params['datetime']; // format: %Y-%m-%d %H:%M:%S.%f
|
||||
|
||||
$conn = fsockopen($client_address, $client_port, $error_code, $error_message, 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user