From 8ec4c66f655eef5bd694dc3a88ea8686c3d722d7 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 17 Dec 2018 19:06:52 +0000 Subject: [PATCH] Multithread the admin socket --- src/yggdrasil/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yggdrasil/admin.go b/src/yggdrasil/admin.go index 5028c9b6..bd3c9051 100644 --- a/src/yggdrasil/admin.go +++ b/src/yggdrasil/admin.go @@ -395,7 +395,7 @@ func (a *admin) listen() { for { conn, err := a.listener.Accept() if err == nil { - a.handleRequest(conn) + go a.handleRequest(conn) } } }