Skip to content

fix: force HTTP 1.1 in curl requests#2949

Merged
dvikan merged 1 commit intoRSS-Bridge:masterfrom
dvikan:yt-http1.1
Aug 5, 2022
Merged

fix: force HTTP 1.1 in curl requests#2949
dvikan merged 1 commit intoRSS-Bridge:masterfrom
dvikan:yt-http1.1

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