4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 22:06:05 +00:00

Multithread the admin socket

This commit is contained in:
Neil Alexander
2018-12-17 19:06:52 +00:00
parent 6b02b72fe7
commit 8ec4c66f65

View File

@ -395,7 +395,7 @@ func (a *admin) listen() {
for {
conn, err := a.listener.Accept()
if err == nil {
a.handleRequest(conn)
go a.handleRequest(conn)
}
}
}