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

Handle cURL library deprecation for redirect options #865

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

cmitu
Copy link

@cmitu cmitu commented Feb 21, 2024

Starting with 7.85, CURLOPT_REDIR_PROTOCOLS is deprecated [1] and CURL_REDIR_PROTOCOLS_STR [2] should be used instead. The changes modify the option used depending on the (compile time) libcurl version.

[1] https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html
[2] https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html

This is a proper fix instead of #836.
Closed #836.

Starting with 7.85, `CURLOPT_REDIR_PROTOCOLS` is deprecated [1] and `CURL_REDIR_PROTOCOLS_STR` [2] should be used instead.
The changes modify the option used depending on the (compile time) libcurl version.

[1] https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS.html
[2] https://curl.se/libcurl/c/CURLOPT_REDIR_PROTOCOLS_STR.html
@pjft pjft merged commit 3ed0ac6 into RetroPie:master Feb 21, 2024
@pjft
Copy link
Collaborator

pjft commented Feb 21, 2024

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants