Add cURL support to HTTP Client

- Add HTTP_PROXY_EXCLUDE option when cURL is used
- Show HTTP client backend in about page
- Fallback to legacy Stream Contexts if cURL extension is not available
This commit is contained in:
mildis
2019-06-04 04:51:47 +02:00
committed by Frédéric Guillot
parent f76c6c7a2a
commit b26776e529
8 changed files with 137 additions and 7 deletions

View File

@@ -241,6 +241,7 @@ define('HTTP_PROXY_HOSTNAME', '');
define('HTTP_PROXY_PORT', '3128');
define('HTTP_PROXY_USERNAME', '');
define('HTTP_PROXY_PASSWORD', '');
define('HTTP_PROXY_EXCLUDE', 'localhost');
// Set to false to allow self-signed certificates
define('HTTP_VERIFY_SSL_CERTIFICATE', true);