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

force resolve for everything #4225

Merged
merged 1 commit into from Nov 2, 2023

Conversation

unixfox
Copy link
Member

@unixfox unixfox commented Nov 1, 2023

Previously, only www.youtube.com was forced resolved, but now all the traffic will be force resolved to whatever IP version the user specify.

This is for being sure that all the proxy to googlevideo.com is being sent in the correct specified IP version. This will help for the issue #4045

I did test and this doesn't break anything. When nothing is forced, the default value is used: https://github.com/iv-org/invidious/blob/master/src/invidious/config.cr#L122

@unixfox unixfox requested a review from a team as a code owner November 1, 2023 20:22
@unixfox unixfox requested review from syeopite and SamantazFox and removed request for a team November 1, 2023 20:22
@unixfox
Copy link
Member Author

unixfox commented Nov 2, 2023

Confirmed on matrix that it's critical for sending all the traffic with the correct IP version so that the public instance gets fully unblocked.

Copy link
Member

@syeopite syeopite left a comment

Choose a reason for hiding this comment

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

LGTM. But this should also probably be included in the stdlib override at crystal_class_overrides.cr to force resolve connections that aren't made by make_client or the yt pool

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.

None yet

3 participants