mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
async new connections
This commit is contained in:
parent
8d0adf253d
commit
a8141a0e1c
@ -105,7 +105,7 @@ func (s *Server) listen(config ListenerConfig) {
|
|||||||
if DEBUG_SERVER {
|
if DEBUG_SERVER {
|
||||||
log.Print("Server.Accept: ", conn.RemoteAddr())
|
log.Print("Server.Accept: ", conn.RemoteAddr())
|
||||||
}
|
}
|
||||||
NewClient(s, conn)
|
go NewClient(s, conn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user