ing
This commit is contained in:
parent
29455b69ca
commit
17223f4bb9
|
@ -260,7 +260,7 @@ func handleRead(s *Server, conn *server.Conn, stopChan <-chan struct{}, doneChan
|
|||
case <-stopChan:
|
||||
conn.Close()
|
||||
<-readMessageChan
|
||||
break
|
||||
return
|
||||
case <-readMessageChan:
|
||||
}
|
||||
|
||||
|
@ -268,7 +268,7 @@ func handleRead(s *Server, conn *server.Conn, stopChan <-chan struct{}, doneChan
|
|||
if server.IsUnexpectedCloseError(err, server.CloseGoingAway, server.CloseAbnormalClosure) {
|
||||
logging.Logger().Debugf(s.serverMessage(fmt.Sprintf("Read error %v", err)))
|
||||
}
|
||||
break
|
||||
return
|
||||
}
|
||||
|
||||
readChan <- message
|
||||
|
|
Loading…
Reference in New Issue
Block a user