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

Merge pull request #265 from neilalexander/threadedadmin

Multithread the admin socket
This commit is contained in:
Neil Alexander
2018-12-17 19:08:14 +00:00
committed by GitHub

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