]> git.wh0rd.org Git - tt-rss.git/commitdiff
simplepie: enable https and digest auth
authorAndrew Dolgov <fox@madoka.spb.ru>
Thu, 24 Jan 2008 08:09:31 +0000 (09:09 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Thu, 24 Jan 2008 08:09:31 +0000 (09:09 +0100)
simplepie/simplepie.inc

index 78ccfb8b3c24c4f9c06689e236c898b4f2d76077..fce53d396fce8cc1a524033d0d5c74f428c05ad3 100644 (file)
@@ -7582,6 +7582,9 @@ class SimplePie_File
                                        curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
                                        curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
                                }
+                               
+                               curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false); 
+                               curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
 
                                $this->headers = curl_exec($fp);
                                if (curl_errno($fp) == 23 || curl_errno($fp) == 61)
@@ -13266,4 +13269,4 @@ class SimplePie_Sanitize
        }
 }
 
-?>
\ No newline at end of file
+?>