Update index.php

This commit is contained in:
Namhyeon Go 2025-02-13 13:24:49 +09:00 committed by GitHub
parent f2ead73592
commit efb2401a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {