链接关闭的时候有概率发生 panic
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
The issue does not name a specific file or test. Start by tracing the Go code that closes connections and writes to internal channels, especially the shutdown/stop path where close and send operations may race. Reproduce the panic by running the project’s tests or example server flow and repeatedly opening/closing while other goroutines send. Done when shutdown can be exercised without the panic "send on closed channel" appearing and tests/build still pass.
Written by the indexing model from the issue text.
Description
在跟着《深入理解GO语言》搓框架,在测试的时候发现在关闭的时候有概率发生panic,原因是 sent to closed channle
极小概率,同时看到 issue 中有人提了一下但是不被重视,个人建议要不要加一个recover避免出问题
- Dominant language
- Go
- Stars
- 7.8k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
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.
More from aceld/zinx
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
还是 时间 hip99..9'-%/@好 Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
阻塞 Open
Difficulty 3/5 1-2 days Newbie friendliness 46/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100