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 { for {
conn, err := a.listener.Accept() conn, err := a.listener.Accept()
if err == nil { if err == nil {
a.handleRequest(conn) go a.handleRequest(conn)
} }
} }
} }