#include "base64.hh"
#include "dolog.hh"
#include "sodcrypto.hh"
+#include "threadname.hh"
#ifdef HAVE_LIBSSL
#include "libssl.hh"
static void LuaThread(const std::string code)
{
+ setThreadName("dnsdist/lua-bg");
LuaContext l;
// mask SIGTERM on threads so the signal always comes to dnsdist itself
#include "dnsparser.hh"
#include "dolog.hh"
#include "sstuff.hh"
+#include "threadname.hh"
namespace dnsdist
{
void ServiceDiscovery::worker()
{
+ setThreadName("dnsdist/discove");
while (true) {
time_t now = time(nullptr);