chenbaoding2818 opened a new issue, #119:
URL: https://github.com/apache/dubbo-getty/issues/119
<!-- Please use this template while reporting a bug and provide as much info
as possible. Not doing so may result in your bug not being addressed in a
timely manner. Thanks!
-->
WARNING: DATA RACE
Read at 0x00c0004610f8 by goroutine 14:
github.com/gorilla/websocket.(*Conn).beginMessage()
/Users/vendor/github.com/gorilla/websocket/conn.go:472 +0x65
github.com/gorilla/websocket.(*Conn).WriteMessage()
/Users/vendor/github.com/gorilla/websocket/conn.go:757 +0xf9
github.com/apache/dubbo-getty.(*gettyWSConn).writePing()
/Users/vendor/github.com/apache/dubbo-getty/connection.go:627 +0x68
github.com/apache/dubbo-getty.heartbeat.func1()
/Users/vendor/github.com/apache/dubbo-getty/session.go:519 +0x6d
github.com/apache/dubbo-getty.heartbeat()
/Users/vendor/github.com/apache/dubbo-getty/session.go:533 +0x167
github.com/dubbogo/gost/time.(*TimerWheel).run()
/Users/vendor/github.com/dubbogo/gost/time/timer.go:281 +0x2b9
github.com/dubbogo/gost/time.NewTimerWheel.func1()
/Users/vendor/github.com/dubbogo/gost/time/timer.go:216 +0x4a4
Previous write at 0x00c0004610f8 by goroutine 7976:
github.com/gorilla/websocket.(*messageWriter).endMessage()
/Users/vendor/github.com/gorilla/websocket/conn.go:539 +0xcd
github.com/gorilla/websocket.(*messageWriter).flushFrame()
/Users/vendor/github.com/gorilla/websocket/conn.go:626 +0xb85
github.com/gorilla/websocket.(*Conn).WriteMessage()
/Users/vendor/github.com/gorilla/websocket/conn.go:763 +0x1d0
github.com/apache/dubbo-getty.(*gettyWSConn).send()
/Users/vendor/github.com/apache/dubbo-getty/connection.go:618 +0x117
github.com/apache/dubbo-getty.(*session).WritePkg()
/Users/vendor/github.com/apache/dubbo-getty/session.go:408 +0x3a7
server/common/net.(*Session).Write()
**What happened**:
**What you expected to happen**:
**How to reproduce it (as minimally and precisely as possible)**:
**Anything else we need to know?**:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]