From: Remi Gacogne Date: Fri, 18 Aug 2023 08:47:47 +0000 (+0200) Subject: dnsdist: Unbreak incoming DoH w/ h2o X-Git-Tag: rec-5.0.0-alpha1~19^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cf94587ebb35f4b9d3642596e176bce19b33932;p=thirdparty%2Fpdns.git dnsdist: Unbreak incoming DoH w/ h2o --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index 4dd374f94c..a3a9bf3bdc 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -2348,6 +2348,8 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) if (frontend->d_library == "h2o") { #ifdef HAVE_LIBH2OEVLOOP frontend = std::make_shared(); + // we _really_ need to set it again, as we just replaced the generic frontend by a new one + frontend->d_library = "h2o"; #else /* HAVE_LIBH2OEVLOOP */ errlog("DOH bind %s is configured to use libh2o but the library is not available", addr); return;