SagerNet / SagerNet/sing-vmess
TCP WriteBuffer、UDP WritePacket 直接调用 directWriter,会绕过会话锁。
Open
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
- 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 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