Let curl handle proxy and cipher list itself
parent
0317199507
commit
794234946c
|
@ -51,11 +51,9 @@ class CurlDownloader
|
||||||
'http' => array(
|
'http' => array(
|
||||||
'method' => CURLOPT_CUSTOMREQUEST,
|
'method' => CURLOPT_CUSTOMREQUEST,
|
||||||
'content' => CURLOPT_POSTFIELDS,
|
'content' => CURLOPT_POSTFIELDS,
|
||||||
'proxy' => CURLOPT_PROXY,
|
|
||||||
'header' => CURLOPT_HTTPHEADER,
|
'header' => CURLOPT_HTTPHEADER,
|
||||||
),
|
),
|
||||||
'ssl' => array(
|
'ssl' => array(
|
||||||
'ciphers' => CURLOPT_SSL_CIPHER_LIST,
|
|
||||||
'cafile' => CURLOPT_CAINFO,
|
'cafile' => CURLOPT_CAINFO,
|
||||||
'capath' => CURLOPT_CAPATH,
|
'capath' => CURLOPT_CAPATH,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue