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

feat(routing/http): support IPIP-484 and streaming #10534

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

lidel
Copy link
Member

@lidel lidel commented Oct 3, 2024

This PR applies IPIP-484 (cc @2color) protocol filtering to IPNI responses from cid.contact/routing/v1/. It makes sure IPNI at cid.contact is queried with fix from ipfs/boxo#678 and we only ask for IPIP-484's WithProtocolFilter("unknown","transport-bitswap")

- make requests with `filter-protocols` from IPIP-484
- define defaults and allow override via env for testing
- prefer streaming responses
@lidel lidel mentioned this pull request Oct 3, 2024
34 tasks
@lidel lidel added the skip/changelog This change does NOT require a changelog entry label Oct 3, 2024
@lidel lidel requested a review from gammazero October 3, 2024 22:28
@lidel lidel marked this pull request as ready for review October 3, 2024 22:28
@lidel lidel requested a review from a team as a code owner October 3, 2024 22:28
@lidel lidel requested a review from 2color October 3, 2024 22:28
@lidel lidel enabled auto-merge (squash) October 3, 2024 22:52
@lidel lidel merged commit 52ca370 into master Oct 3, 2024
14 checks passed
@lidel lidel deleted the delegated-routing-filters branch October 3, 2024 22:58
@2color
Copy link
Member

2color commented Oct 7, 2024

Nice! Thanks for taking care of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does NOT require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants