Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HttpClient] fix checking for recent curl consts #44743

Merged
merged 1 commit into from Dec 22, 2021

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 21, 2021

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #42061
License MIT
Doc PR -

stof
stof approved these changes Dec 21, 2021
Copy link
Member

@derrabus derrabus left a comment

Wow, this PR fixes compatibility with libcurl versions older than 7.39.0 which was released in 2014! Enterprise Linux ftw. 🙈

@stof
Copy link
Member

stof commented Dec 21, 2021

@derrabus quoted from https://www.php.net/manual/en/curl.requirements.php:

PHP requires libcurl version 7.10.5 or later.

@stof
Copy link
Member

stof commented Dec 21, 2021

based on https://github.com/php/php-src/blob/0b5d371a9c2652c9775d807d29658b59a71848e5/ext/curl/sync-constants.php#L15, that doc seems outdated though. the min version seems to be 7.15.5 now. But that's still very old.

Edit: fixed the doc in php/doc-en#1221

@derrabus
Copy link
Member

derrabus commented Dec 21, 2021

Yeah, I know. But still. 🙈

@nicolas-grekas nicolas-grekas merged commit 6b8b4ab into symfony:5.3 Dec 22, 2021
11 of 12 checks passed
@nicolas-grekas nicolas-grekas deleted the hc-curl-check branch Dec 29, 2021
This was referenced Dec 29, 2021
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.

None yet

4 participants