Skip to content

fix: use exact matcher for trustless gateway detection#1047

Merged
achingbrain merged 3 commits into
mainfrom
fix/exact-match-for-http
May 31, 2026
Merged

fix: use exact matcher for trustless gateway detection#1047
achingbrain merged 3 commits into
mainfrom
fix/exact-match-for-http

Conversation

@achingbrain

Copy link
Copy Markdown
Member

When a peer has HTTP multiaddrs, ensure that the matching doesn't eagerly also match WS(S) addresses.

Refs: ipfs/service-worker-gateway#1092
Refs: ipfs/service-worker-gateway#1097

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

When a peer has HTTP multiaddrs, ensure that the matching doesn't
eagerly also match WS(S) addresses.

Refs: ipfs/service-worker-gateway#1092
Refs: ipfs/service-worker-gateway#1097
@achingbrain achingbrain requested a review from a team as a code owner May 29, 2026 10:16
@achingbrain achingbrain merged commit b1813e4 into main May 31, 2026
18 checks passed
@achingbrain achingbrain deleted the fix/exact-match-for-http branch May 31, 2026 07:30
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.

1 participant