5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 10:40:27 +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
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

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)
}
}
}