Parcourir la source

取消oss-sdk的ssl证书验证

萤火科技 il y a 5 ans
Parent
commit
d4b6493d41
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php

+ 1 - 1
vendor/aliyuncs/oss-sdk-php/src/OSS/Http/RequestCore.php

@@ -157,7 +157,7 @@ class RequestCore
     /**
      * The state of SSL certificate verification.
      */
-    public $ssl_verification = true;
+    public $ssl_verification = false;
 
     /**
      * The user-defined callback function to call when a stream is read from.