This commit is contained in:
Josh Baker 2017-01-13 08:24:00 -07:00
commit 45b5cb50d0
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func (c *Controller) goLive(inerr error, conn net.Conn, rd *server.AnyReaderWrit
for {
v, err := rd.ReadMessage()
if err != nil {
if err != io.EOF {
if err != io.EOF && !(websocket && err == io.ErrUnexpectedEOF) {
log.Error(err)
}
return