From cda49323eb690fda042c6895566b95b8e2be3a0a Mon Sep 17 00:00:00 2001 From: johnstevenson Date: Wed, 4 Nov 2020 10:45:54 +0000 Subject: [PATCH] Remove CURLOPT_SSL_FALSESTART option. Fixes #9405 --- src/Composer/Util/Http/CurlDownloader.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Composer/Util/Http/CurlDownloader.php b/src/Composer/Util/Http/CurlDownloader.php index de70f93b2..8bdce78d6 100644 --- a/src/Composer/Util/Http/CurlDownloader.php +++ b/src/Composer/Util/Http/CurlDownloader.php @@ -166,9 +166,6 @@ class CurlDownloader curl_setopt($curlHandle, CURLOPT_FILE, $bodyHandle); curl_setopt($curlHandle, CURLOPT_ENCODING, "gzip"); curl_setopt($curlHandle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP|CURLPROTO_HTTPS); - if (defined('CURLOPT_SSL_FALSESTART')) { - curl_setopt($curlHandle, CURLOPT_SSL_FALSESTART, true); - } if (function_exists('curl_share_init')) { curl_setopt($curlHandle, CURLOPT_SHARE, $this->shareHandle); }