mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-05-30 21:45:23 +00:00
注释curl证书验证,本设置会引起部分站点的https访问失败,返回Empty reply from server错误
This commit is contained in:
parent
b5f4537df7
commit
4cf1222b37
@ -13,7 +13,7 @@ use IYUU\Library\Table;
|
||||
class AutoReseed
|
||||
{
|
||||
// 版本号
|
||||
const VER = '1.7.2';
|
||||
const VER = '1.7.4';
|
||||
// RPC连接
|
||||
private static $links = [];
|
||||
// 客户端配置
|
||||
@ -73,7 +73,7 @@ class AutoReseed
|
||||
self::backup('config', $configALL);
|
||||
self::$curl = new Curl();
|
||||
self::$curl->setOpt(CURLOPT_SSL_VERIFYPEER, false);
|
||||
self::$curl->setOpt(CURLOPT_SSL_VERIFYHOST, false);
|
||||
#self::$curl->setOpt(CURLOPT_SSL_VERIFYHOST, 2);
|
||||
|
||||
// 合作站点自动注册鉴权
|
||||
$is_login = Oauth::login(self::$apiUrl . self::$endpoints['login']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user