在 connection 的实现上有并发安全性的问题
Open
- Dominant language
- Go
- Stars
- 7.8k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
代码处:
if c.isClosed == true {
return errors.New("Connection closed when send buff msg")
}
如果此时不用锁, 另外的 goroutine 关闭了 conn, 则存在问题
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.