libp2p / libp2p/rust-libp2p

Add WSS to interop test impl

Open
#3,576 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty:easy help wanted
Dominant language
Rust
Stars
5.6k
Forks
1.3k
Avg merge
8h 47m
Merged PRs (30d)
19

Description

Description

We now have WSS testing in the interop runner. We need this to test browsers since browsers wont connect to a non-secure ws url. We have the go-libp2p pr here: https://github.com/libp2p/go-libp2p/pull/2178. It would be great to have Rust add WSS so it gets tested against browsers.

Are you planning to do it yourself in a pull request?

I would, but I feel like others could do this faster.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the interop runner's existing WSS testing and the linked go-libp2p pull request for its implementation approach. Then locate the Rust interop test implementation and add equivalent WSS coverage so it can test browser connections; the issue does not name specific Rust files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.