mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-08-02 00:28:37 +03:00
Trying a different close thing, other oen was failing?
This commit is contained in:
parent
fd74201f1f
commit
730d15d858
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user