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

Use previous well-known resource #2797

Closed
wants to merge 1 commit into from

Conversation

gammazero
Copy link
Contributor

Changing from "/.well-known/libp2p" to "/.well-known/libp2p/protocols" will break the ability to communicate with existing servers deployed without upgrading them first. Since these servers are running in places not under our control, they will not be immediately upgradable. This means that libp2phttp needs to support both the old and the new values, or revert to using the old value.

This PR reverts to using the old resource name, which was changed in #2757.

Changing from "/.well-known/libp2p" to "/.well-known/libp2p/protocols" will break the ability to communicate with existing servers deployed without upgrading them first. Since these servers are running in places not under our control, they will not be immediately upgradable. This means that libp2phttp needs to support both the old and the new values, or revert to using the old value.

This PR reverts to using the old resource name, which was changed in #2757.
@gammazero gammazero requested a review from MarcoPolo May 16, 2024 20:02
@MarcoPolo
Copy link
Collaborator

What do you think about supporting both versions for a release for a bit, and then removing the old version?

@gammazero
Copy link
Contributor Author

What do you think about supporting both versions for a release for a bit, and then removing the old version?

I think it will be one of those things we will need to support for a very long time or forever. Hundreds of storage providers are using the old resource name, and it is very difficult to get SPs to upgrade.

@MarcoPolo
Copy link
Collaborator

Closing in favor of #2798

@MarcoPolo MarcoPolo closed this May 17, 2024
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