mirror of https://github.com/tidwall/tile38.git
Merge branch 'bug-118' of https://github.com/m1ome/tile38
This commit is contained in:
commit
45b5cb50d0
|
@ -116,7 +116,7 @@ func (c *Controller) goLive(inerr error, conn net.Conn, rd *server.AnyReaderWrit
|
||||||
for {
|
for {
|
||||||
v, err := rd.ReadMessage()
|
v, err := rd.ReadMessage()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err != io.EOF {
|
if err != io.EOF && !(websocket && err == io.ErrUnexpectedEOF) {
|
||||||
log.Error(err)
|
log.Error(err)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue