Skip to content

Commit

Permalink
remove deprecated CURLPIPE_HTTP1 support flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hal869 authored and maxhelias committed Jul 9, 2019
1 parent 74420dc commit d109717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CurlDownloader.php
Expand Up @@ -46,7 +46,7 @@ class CurlDownloader
public function __construct()
{
$this->multiHandle = $mh = curl_multi_init();
curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_HTTP1 | CURLPIPE_MULTIPLEX*/ 3);
curl_multi_setopt($mh, CURLMOPT_PIPELINING, /*CURLPIPE_MULTIPLEX*/ 2);
if (\defined('CURLMOPT_MAX_HOST_CONNECTIONS')) {
curl_multi_setopt($mh, CURLMOPT_MAX_HOST_CONNECTIONS, 8);
}
Expand Down

0 comments on commit d109717

Please sign in to comment.