libp2p / libp2p/specs

Add a STOP_SENDING frame to yamux

Open
#627 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1.8k
Forks
320
Avg merge
11d 15h
Merged PRs (30d)
1

Description

It's useful to signal to the peer that you have stopped reading on a stream. This only resets the read half of the stream.

QUIC has STOP_SENDING frame for this: https://www.rfc-editor.org/rfc/rfc9000.html#name-stop_sending-frames

We can consider adding something similar for yamux.

Contributor guide

No contributing guide indexed for this repository

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 with the linked RFC 9000 STOP_SENDING section and compare its stated read-half behavior with the yamux specification. Define whether yamux should add an analogous frame and document its semantics and interoperability requirements; the issue is done when the proposal is concrete and reviewable.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.