mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
that didn't work out well
This commit is contained in:
parent
e6ea4a7574
commit
10f1867521
1 changed files with 2 additions and 2 deletions
|
@ -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, Z_CURL_CIPHERS);
|
||||
|
||||
|
||||
if (x($opts,'accept_content')){
|
||||
|
|
Loading…
Reference in a new issue