I'm using Drush and Drush Make to automate download of Drupal module from a corporate network behind a NTLM-SSPI Proxy. Drush and Drush Make uses cURL to download files. cURL supports NTLM-SSPI Proxy. I configured cURL for the proxy in my .curlrc file
--proxy proxy.example.com:8080
--proxy-ntlm
--proxy-user user:password
Drush itself is able to download modules from drupal.org because it uses curl
from the command line. But Drush Make uses the PHP cURL API (libcurl) . It looks like when used this way, cURL does not use the configuration in my .curlrc file.
Is there a way to configure libcurl/PHP cURL with a .curlrc file ?
No, the entire .curlrc parser and all associated logic is only present in the command line tool code. It is not included in the library at all. (and the PHP/CURL binding is only using libcurl the library, not the command line tool)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With