that should fix it.

This commit is contained in:
friendica 2014-03-24 19:01:20 -07:00
parent 10f1867521
commit 235b033560
2 changed files with 7 additions and 2 deletions

View File

@ -47,7 +47,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) {
if(! $ciphers)
$ciphers = 'ALL:!eNULL';
// @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, $ciphers);
@curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, $ciphers);
if (x($opts,'accept_content')){
@curl_setopt($ch,CURLOPT_HTTPHEADER, array (
@ -155,7 +155,7 @@ function z_post_url($url,$params, $redirects = 0, $opts = array()) {
if(! $ciphers)
$ciphers = 'ALL:!eNULL';
// @curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, Z_CURL_CIPHERS);
@curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, $ciphers);
if (x($opts,'accept_content')){

View File

@ -62,6 +62,11 @@ function poco_load($xchan = '',$url = null) {
$j = json_decode($s['body'],true);
if(! $j) {
logger('poco_load: unable to json_decode returned data.');
return;
}
logger('poco_load: ' . print_r($j,true),LOGGER_DATA);
if($xchan) {