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

The curl option curl_setopt($ch, CURLOPT_ENCODING, '') is not working (php 8.3.7) #534

Closed
majuca opened this issue Jun 1, 2024 · 2 comments

Comments

@majuca
Copy link

majuca commented Jun 1, 2024

Hi,

In the exec function of the JiraClient class, the code curl_setopt($ch, CURLOPT_ENCODING, '') is causing the request to fail. The result of curl_exec is false, even though curl_getinfo($ch, CURLINFO_HTTP_CODE) returns 200.

If I comment out this line of code, the request succeeds.

My configurations:

php 8.3.7
lesstif/php-jira-rest-client": "5.8.0"

Any idee?

@majuca majuca changed the title The curl option curl_setopt($ch, CURLOPT_ENCODING, '') is not working The curl option curl_setopt($ch, CURLOPT_ENCODING, '') is not working (php 8.3.7) Jun 1, 2024
@majuca
Copy link
Author

majuca commented Jun 1, 2024

is seems to be a curl problem in PHP 8.3.7: php/php-src#14184

lesstif added a commit that referenced this issue Sep 16, 2024
@lesstif
Copy link
Owner

lesstif commented Sep 16, 2024

Hi @majuca sorry for the late reply. I released a fixed version- 5.9.0 right now. thank you!

@lesstif lesstif closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants