1
0
Fork 0
forked from External/ergo

remove channel buffering

This commit is contained in:
Jeremy Latt 2014-02-19 18:22:57 -08:00
parent 6265b70622
commit af6a8ee6f0
2 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ func NewClient(server *Server, conn net.Conn) *Client {
phase: server.InitPhase(),
server: server,
socket: NewSocket(conn),
replies: make(chan Reply, 16),
replies: make(chan Reply),
}
client.loginTimer = time.AfterFunc(LOGIN_TIMEOUT, client.connectionTimeout)