feat(transport): Add WebTransport for WASM environments#4065
Closed
thomaseizinger wants to merge 9 commits intovalidate-certhashesfrom
Closed
feat(transport): Add WebTransport for WASM environments#4065thomaseizinger wants to merge 9 commits intovalidate-certhashesfrom
thomaseizinger wants to merge 9 commits intovalidate-certhashesfrom
Conversation
Pull-Request: #4050.
This removes multiple duplicate dependencies from our lockfile. Unsure why dependabot hasn't done these yet. Pull-Request: #4044.
- Adding conditional `cfg` in `keypair.rs` imports. - Adding `#[allow(unused_variables)]` on the top of the `sign` function. Pull-Request: #4047.
> Observed addresses (aka. external address candidates) of the local node, reported by a remote node
> via `libp2p-identify`, are no longer automatically considered confirmed external addresses, in
> other words they are no longer trusted by default. Instead users need to confirm the reported
> observed address either manually, or by using `libp2p-autonat`. In trusted environments users can
> simply extract observed addresses from a `libp2p-identify::Event::Received { info:
> libp2p_identify::Info { observed_addr }}` and confirm them via `Swarm::add_external_address`.
Follow-up to #3954.
Pull-Request: #4052.
Uses `web-sys::WebTransport` and provides a `Transport` implementation.
This was referenced Jun 12, 2023
4 tasks
Contributor
Author
|
I've also extracted the send-wrapper commit into a separate PR: #4066 |
mergify bot
pushed a commit
that referenced
this pull request
Jun 12, 2023
Co-authored-by: Yiannis Marangos <[email protected]> Related: #4065. Pull-Request: #4066.
4 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements
Transportfor WebTransport for browsers by using web-sys.Related: #3846.
Depends-On: #4064.
Co-authored-by: Yiannis Marangos [email protected]
Notes & open questions
This is exactly #4015 but pushed to a branch of this repository so we can stack them.
Change checklist