mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-05-28 04:27:03 +00:00
Update index.php
This commit is contained in:
parent
f2ead73592
commit
efb2401a66
|
@ -9,7 +9,7 @@
|
||||||
* Updated at: 2025-02-09
|
* Updated at: 2025-02-09
|
||||||
*/
|
*/
|
||||||
define("PERF_START_TIME", microtime(true));
|
define("PERF_START_TIME", microtime(true));
|
||||||
define("PHP_HTTPPROXY_VERSION", "0.1.6.8");
|
define("PHP_HTTPPROXY_VERSION", "0.1.6.9");
|
||||||
define("DEFAULT_SOCKET_TIMEOUT", 1);
|
define("DEFAULT_SOCKET_TIMEOUT", 1);
|
||||||
define("STATEFUL_SOCKET_TIMEOUT", 30);
|
define("STATEFUL_SOCKET_TIMEOUT", 30);
|
||||||
define("MAX_EXECUTION_TIME", 0);
|
define("MAX_EXECUTION_TIME", 0);
|
||||||
|
@ -595,7 +595,7 @@ function relay_invoke_method($params) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$result = relay_fetch_url(array(
|
$result = relay_fetch_url(array(
|
||||||
"url" => $required_url
|
"url" => $resource_url
|
||||||
));
|
));
|
||||||
|
|
||||||
if ($result['success'] && $result['result']['status'] == 200) {
|
if ($result['success'] && $result['result']['status'] == 200) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user