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:
@ -395,7 +395,7 @@ func (a *admin) listen() {
|
||||
for {
|
||||
conn, err := a.listener.Accept()
|
||||
if err == nil {
|
||||
a.handleRequest(conn)
|
||||
go a.handleRequest(conn)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user