1
0
Fork 0

Merge pull request #8102 from nicolas-grekas/from-flex

Let curl handle proxy and cipher list itself
pull/8223/head
Jordi Boggiano 2019-06-07 16:02:08 +02:00 committed by GitHub
commit 495b8e0a2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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,
), ),