mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-16 14:41:21 +00:00
@ -117,7 +117,7 @@ func (s *SocketServer) acceptConnectionsRoutine() {
|
|||||||
go func() {
|
go func() {
|
||||||
// Wait until signal to close connection
|
// Wait until signal to close connection
|
||||||
errClose := <-closeConn
|
errClose := <-closeConn
|
||||||
if err == io.EOF {
|
if errClose == io.EOF {
|
||||||
s.Logger.Error("Connection was closed by client")
|
s.Logger.Error("Connection was closed by client")
|
||||||
} else if errClose != nil {
|
} else if errClose != nil {
|
||||||
s.Logger.Error("Connection error", "error", errClose)
|
s.Logger.Error("Connection error", "error", errClose)
|
||||||
|
Reference in New Issue
Block a user