1
0
Fork 0

Merge pull request #9413 from johnstevenson/false-start

Remove CURLOPT_SSL_FALSESTART option. Fixes #9405
pull/9416/head
Jordi Boggiano 2020-11-04 12:37:57 +01:00 committed by GitHub
commit 59de196ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -166,9 +166,6 @@ class CurlDownloader
curl_setopt($curlHandle, CURLOPT_FILE, $bodyHandle); curl_setopt($curlHandle, CURLOPT_FILE, $bodyHandle);
curl_setopt($curlHandle, CURLOPT_ENCODING, "gzip"); curl_setopt($curlHandle, CURLOPT_ENCODING, "gzip");
curl_setopt($curlHandle, CURLOPT_PROTOCOLS, CURLPROTO_HTTP|CURLPROTO_HTTPS); 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')) { if (function_exists('curl_share_init')) {
curl_setopt($curlHandle, CURLOPT_SHARE, $this->shareHandle); curl_setopt($curlHandle, CURLOPT_SHARE, $this->shareHandle);
} }