Skip to content

Use previous well-known resource#2797

Closed
gammazero wants to merge 1 commit intomasterfrom
gammazero/previous-well-known-resource
Closed

Use previous well-known resource#2797
gammazero wants to merge 1 commit intomasterfrom
gammazero/previous-well-known-resource

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
@gammazero gammazero deleted the gammazero/previous-well-known-resource branch December 15, 2024 05:25
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