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

Update fallback logic to only fallback with previous host #4613

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Feb 1, 2024

Currently a localhost http registry will still attempt http after a redirect to an https host. The http fallback should only apply to the same host which previously had a fallback to http. The caching of the host is only an optimization and not necessary to function correctly, multiple fallback hosts using the same transport would still work.

See moby/moby#47240

@tonistiigi
Copy link
Member

@vvoland

Copy link
Collaborator

@vvoland vvoland left a comment

Choose a reason for hiding this comment

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

LGTM

@tonistiigi tonistiigi merged commit c6efd41 into moby:master Feb 8, 2024
65 checks passed
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.

4 participants