3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

async new connections

This commit is contained in:
Jeremy Latt 2014-02-10 17:54:35 -08:00
parent 8d0adf253d
commit a8141a0e1c

View File

@ -105,7 +105,7 @@ func (s *Server) listen(config ListenerConfig) {
if DEBUG_SERVER {
log.Print("Server.Accept: ", conn.RemoteAddr())
}
NewClient(s, conn)
go NewClient(s, conn)
}
}