mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
parent
e6cae33061
commit
77088e226f
@ -55,6 +55,9 @@ class Typecho_Http_Client_Adapter_Curl extends Typecho_Http_Client_Adapter
|
||||
curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, $this->timeout);
|
||||
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
|
||||
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
|
||||
|
||||
/** 设置HTTP版本 */
|
||||
switch ($this->rfc) {
|
||||
case 'HTTP/1.0':
|
||||
|
Loading…
x
Reference in New Issue
Block a user