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
commit c2468b4246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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