mirror of
				https://gitee.com/ledc/IYUUAutoReseed
				synced 2025-10-30 16:29:49 +00:00 
			
		
		
		
	注释curl证书验证,本设置会引起部分站点的https访问失败,返回Empty reply from server错误
This commit is contained in:
		| @@ -13,7 +13,7 @@ use IYUU\Library\Table; | |||||||
| class AutoReseed | class AutoReseed | ||||||
| { | { | ||||||
|     // 版本号 |     // 版本号 | ||||||
|     const VER = '1.7.2'; |     const VER = '1.7.4'; | ||||||
|     // RPC连接 |     // RPC连接 | ||||||
|     private static $links = []; |     private static $links = []; | ||||||
|     // 客户端配置 |     // 客户端配置 | ||||||
| @@ -73,7 +73,7 @@ class AutoReseed | |||||||
|         self::backup('config', $configALL); |         self::backup('config', $configALL); | ||||||
|         self::$curl = new Curl(); |         self::$curl = new Curl(); | ||||||
|         self::$curl->setOpt(CURLOPT_SSL_VERIFYPEER, false); |         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']); |         $is_login = Oauth::login(self::$apiUrl . self::$endpoints['login']); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user