websockets-rs / websockets-rs/rust-websocket
How to close the connection properly?
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
When I use socket.shutdown().unwrap();
My client closed the connection normally, but my server showed java.io.EOFException: null
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported client call, socket.shutdown().unwrap(), alongside the server-side java.io.EOFException: null. Trace the WebSocket close-handling entry points and determine what behavior is expected for a normal client close; the issue is done when that behavior is documented or corrected and the reproduction is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100