From 6b3a459d29caa50418cf0d9583369a27d84a52d1 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 25 Mar 2019 18:31:05 -0700 Subject: [PATCH] Revert "ircd::server: Fix concurrency assumptions in server::get()." This reverts commit 3db83faac3a06dbccb2bd7d736d1ba510b574c4b. --- ircd/server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/server.cc b/ircd/server.cc index eeda76824..ab2af71fb 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -116,7 +116,7 @@ ircd::server::interrupt_all() ircd::server::peer & ircd::server::get(const net::hostport &hostport) { - char canonbuf[256]; + thread_local char canonbuf[256]; const auto canonized { net::canonize(canonbuf, hostport)