n0-computer / n0-computer/noq

Ensure CONNECTION_CLOSE is sent on each path during closing state

Open
#488 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

multipath
Dominant language
Rust
Stars
413
Forks
63
Avg merge
2d 16h
Merged PRs (30d)
6

Description

During the closing state an endpoint should send a CONNECTION_CLOSE in response to packets received. In RFC9000 this is on the single path.

In multipath however we may be receiving more packets on several paths. We send only a single CONNECTION_CLOSE over one of the paths however, which might be broken for whatever reason. So we do need to make sure that each path tracks independently on whether packets were received after the CONNECTION_CLOSE was sent and elicit a new CONNECTION_CLOSE each time. This also means that for those later CONNECTION_CLOSE frames the exact path it should be scheduled on is important.

And while doing this do not forget that ideally there is also some kind of backoff for those, so that not too many CONNECTION_CLOSE packets are sent. That again is as specced in RFC9O00, but I'm not sure this is currently implemented. Maybe that'll be better split off in its own issue though, let's see when we implement this.

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 tracing the closing-state CONNECTION_CLOSE handling and multipath path scheduling, then compare the behavior with RFC9000. Verify how each path records packets received after a CONNECTION_CLOSE and how later frames are scheduled; done means each affected path receives the required response without excessive retransmission.

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.