SagerNet / SagerNet/sing-vmess

TCP WriteBuffer、UDP WritePacket 直接调用 directWriter,会绕过会话锁。

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

Nobody has claimed this yet.

Dominant language
Go
Stars
29
Forks
74
PR merge metrics
No merged PRs in 30d

Description

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 in mux.go at lines 395-406 and 505-521, then trace how the session lock is used around these TCP and UDP write paths. Ensure WriteBuffer and WritePacket no longer bypass that locking behavior, and verify both paths preserve the intended session synchronization.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.