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

fix: force HTTP 1.1 in curl requests #2949

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

dvikan
Copy link
Contributor

@dvikan dvikan commented Aug 1, 2022

I'm not 100% sure on this one because I'm unfamiliar with HTTP/2. But it does fix #2947.

Copy link
Contributor

@em92 em92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct PR. We need to make ensure, that curl uses same protocol version for http requests without depending of curl version.

Quoting https://stackoverflow.com/a/59955444

Since curl 7.62.0 the default option is: CURL_HTTP_VERSION_2TLS

Before that the default used to be: CURL_HTTP_VERSION_1_1

@dvikan dvikan merged commit b042412 into RSS-Bridge:master Aug 5, 2022
@dvikan dvikan deleted the yt-http1.1 branch August 5, 2022 09:46
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.

[YouTube Bridge] - YouTube failed with error 0
2 participants