simplepie: enable digest authentication
This commit is contained in:
parent
a5ae391500
commit
86027a078d
|
@ -7690,6 +7690,10 @@ class SimplePie_File
|
||||||
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
|
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Enable Digest authentication and SSL -fox */
|
||||||
|
curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false);
|
||||||
|
curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||||
|
|
||||||
$this->headers = curl_exec($fp);
|
$this->headers = curl_exec($fp);
|
||||||
if (curl_errno($fp) === 23 || curl_errno($fp) === 61)
|
if (curl_errno($fp) === 23 || curl_errno($fp) === 61)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue