EspressoSystems / EspressoSystems/surf-disco

Handle WebSocket connection resets

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Some WebSockets libraries don't automatically handle connection resets, e.g. https://github.com/snapview/tokio-tungstenite/issues/101. We should add tests (e.g. the reproducing example in the linked issue) to see what happens if a WebSocket connection opened by a Surf Disco client is reset, and add logic to automatically reconnect if necessary.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Surf Disco WebSocket client entry points and the reproducing example in the linked tokio-tungstenite issue. Add tests covering a reset connection and verify that the client automatically reconnects when necessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.