fixes from review

This commit is contained in:
Ethan Buchman
2016-08-17 23:27:49 -04:00
parent 1b13f14e08
commit 83920a1c37
3 changed files with 19 additions and 24 deletions

View File

@ -120,7 +120,6 @@ func (s *SocketServer) acceptConnectionsRoutine() {
errClose := <-closeConn
if err == io.EOF {
log.Warn("Connection was closed by client")
return // is this correct? the conn is closed?
} else if errClose != nil {
log.Warn("Connection error", "error", errClose)
} else {