mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-06-07 19:03:17 +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:
|
case c.Msg <- msg:
|
||||||
default:
|
default:
|
||||||
logger.Errorf("Msg buffer full, dropping: %s (%s)", c.Name, c.Conn.RemoteAddr())
|
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