修复消息包被阶段问题, 临时防范
This commit is contained in:
parent
0ac5145c24
commit
2feb4d661c
@ -150,7 +150,7 @@ func (w *wsWriter) Write(p []byte) (n int, err error) {
|
|||||||
if nil == wsLoggerConnect {
|
if nil == wsLoggerConnect {
|
||||||
return 0, nil
|
return 0, nil
|
||||||
}
|
}
|
||||||
|
p = []byte(" " + string(p))
|
||||||
allConnList := wsLoggerConnect.GetCtxList()
|
allConnList := wsLoggerConnect.GetCtxList()
|
||||||
for _, conn := range allConnList {
|
for _, conn := range allConnList {
|
||||||
_ = conn.Session.Write(p)
|
_ = conn.Session.Write(p)
|
||||||
|
Loading…
Reference in New Issue
Block a user