|
@ -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) |
|
|