X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Fslinky.php;h=fc3714c2019598395844317a8ed7ff8324ab6e0c;hb=29a66c8336cb127f9a927e1c5cd317f3b9fde9f2;hp=cae1f755ff0fa56c75c98f77cf95a11ba2814403;hpb=e242a391b9bdd61220cd84bacfd1ded6bdf20b4f;p=friendica.git diff --git a/library/slinky.php b/library/slinky.php old mode 100755 new mode 100644 index cae1f755ff..fc3714c201 --- a/library/slinky.php +++ b/library/slinky.php @@ -341,7 +341,7 @@ abstract class Slinky_Service { curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 ); // Don't stress about SSL validity curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); // Return the response, don't output it curl_setopt( $ch, CURLOPT_TIMEOUT, SLINKY_TIMEOUT ); // Limit how long we'll wait for a response - curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 ); // Allow following of redirections + //curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 ); // Allow following of redirections $r = curl_exec( $ch ); if ( curl_errno( $ch ) ) { return false; @@ -372,7 +372,7 @@ abstract class Slinky_Service { curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 ); // Don't stress about SSL validity curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); // Return the response, don't output it curl_setopt( $ch, CURLOPT_TIMEOUT, SLINKY_TIMEOUT ); // Limit how long we'll wait for a response - curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 ); // Allow following of redirections + //curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 ); // Allow following of redirections $r = curl_exec( $ch ); if ( curl_errno( $ch ) ) { return false;