Trying a different close thing, other oen was failing?

This commit is contained in:
Andrey Petrov 2015-01-03 17:20:39 -08:00
parent fd74201f1f
commit 730d15d858

View File

@ -127,7 +127,7 @@ func (c *Client) Send(msg string) {
case c.Msg <- msg:
default:
logger.Errorf("Msg buffer full, dropping: %s (%s)", c.Name, c.Conn.RemoteAddr())
c.Conn.Close()
c.Conn.Conn.Close()
}
}