mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-05-20 17:05:08 +03:00
Merge pull request #265 from neilalexander/threadedadmin
Multithread the admin socket
This commit is contained in:
commit
c2468b4246
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ func (a *admin) listen() {
|
||||||
for {
|
for {
|
||||||
conn, err := a.listener.Accept()
|
conn, err := a.listener.Accept()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
a.handleRequest(conn)
|
go a.handleRequest(conn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue