Skip to content

Updated corneltek/curlkit to the latest version containing c9s/CurlKit#6#1038

Merged
morozov merged 1 commit into
phpbrew:masterfrom
morozov:curlkit-update
Nov 29, 2019
Merged

Updated corneltek/curlkit to the latest version containing c9s/CurlKit#6#1038
morozov merged 1 commit into
phpbrew:masterfrom
morozov:curlkit-update

Conversation

@morozov

@morozov morozov commented Aug 11, 2019

Copy link
Copy Markdown
Contributor

Under certain circumstances, the downloader may use HTTP/2, in which case the download will fail:

$ phpbrew install 7.1.31
===> phpbrew will now build 7.1.31
---> Parsing variants from command arguments '+curl +default +fpm +gd +gmp +iconv +intl +ldap +mysql +sqlite +soap'
===> Loading and resolving variants...
Downloading https://secure.php.net/get/php-7.1.31.tar.bz2/from/this/mirror via curl extension

Fatal error: Uncaught CurlKit\CurlException:  at [The Location header can not be found: HTTP/2 302 
server: myracloud
date: Sun, 11 Aug 2019 23:38:06 GMT
content-type: text/html; charset=utf-8
content-language: en
x-frame-options: SAMEORIGIN
set-cookie: COUNTRY=NA%2C82.199.157.54; expires=Sun, 18-Aug-2019 23:38:06 GMT; Max-Age=604800; path=/; domain=.php.net
x-php-load: 0.12, 0.13, 0.1
status: 302 Found
location: https://www.php.net/distributions/php-7.1.31.tar.bz2
expires: Sun, 11 Aug 2019 23:38:06 GMT
cache-control: max-age=0] in vendor/corneltek/curlkit/src/CurlKit/CurlDownloader.php on line 180

This is resolved in c9s/CurlKit#6, so bumping the locked version. The dependency version is locked to c9s/CurlKit@9e85064 since it's the last commit that doesn't contain the changes introduced by c9s/CurlKit#4.

Fixes #1011.
Fixes #1023.

@morozov morozov closed this Oct 5, 2019
@morozov morozov deleted the curlkit-update branch October 5, 2019 22:11
@morozov morozov restored the curlkit-update branch November 29, 2019 21:10
@morozov morozov reopened this Nov 29, 2019
@coveralls

coveralls commented Nov 29, 2019

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.3%) to 40.003% when pulling 53123ec on morozov:curlkit-update into a3745f8 on phpbrew:master.

@morozov morozov self-assigned this Nov 29, 2019
@morozov morozov added this to the Release 1.25.0 milestone Nov 29, 2019
@morozov morozov merged commit cd2cbef into phpbrew:master Nov 29, 2019
@morozov morozov deleted the curlkit-update branch November 29, 2019 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

install Error The Location header can not be found: HTTP/2 302

2 participants