Skip to content

Allow specifying custom ALPN for Downloader#242

Open
maackle wants to merge 1 commit into
n0-computer:mainfrom
maackle:main
Open

Allow specifying custom ALPN for Downloader#242
maackle wants to merge 1 commit into
n0-computer:mainfrom
maackle:main

Conversation

@maackle

@maackle maackle commented Jun 23, 2026

Copy link
Copy Markdown

Description

Adds ALPN as a parameter to Downloader::new_with_opts, to allow operation with custom ALPNs

Breaking Changes

Use of Downloader::new_with_opts must provide iroh_blobs::ALPN as the the new arg.

Notes & open questions

This is necessary for use with p2panda, which internally hashes any registered ALPNs with a private "network ID", making it impossible to interoperate protocols across the p2panda boundary using default ALPNs.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant