]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: In the ctor we want to use the base class version
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 6 Jan 2026 20:36:07 +0000 (21:36 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 19 Jan 2026 10:01:32 +0000 (11:01 +0100)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-nghttp2.cc

index 8d1c9ddc5991e94d35e3c0f37ebd05864fb90195..855ab63ea474d8dcb1c480c131864fe2a36b2ed4 100644 (file)
@@ -812,7 +812,7 @@ DoHConnectionToBackend::DoHConnectionToBackend(const std::shared_ptr<DownstreamS
     d_connectionDied = true;
     ++d_ds->tcpDiedSendingQuery;
     VERBOSESLOG(infolog("Unable to create a callback object for a new HTTP/2 session"),
-                getLogger()->info(Logr::Info, "Unable to create a callback object for a new HTTP/2 session"));
+                ConnectionToBackend::getLogger()->info(Logr::Info, "Unable to create a callback object for a new HTTP/2 session"));
     return;
   }
   std::unique_ptr<nghttp2_session_callbacks, void (*)(nghttp2_session_callbacks*)> callbacks(cbs, nghttp2_session_callbacks_del);
@@ -830,7 +830,7 @@ DoHConnectionToBackend::DoHConnectionToBackend(const std::shared_ptr<DownstreamS
     d_connectionDied = true;
     ++d_ds->tcpDiedSendingQuery;
     VERBOSESLOG(infolog("Could not allocate a new HTTP/2 session"),
-                getLogger()->info(Logr::Info, "Could not allocate a new HTTP/2 session"));
+                ConnectionToBackend::getLogger()->info(Logr::Info, "Could not allocate a new HTTP/2 session"));
     return;
   }
 
@@ -855,7 +855,7 @@ DoHConnectionToBackend::DoHConnectionToBackend(const std::shared_ptr<DownstreamS
     d_connectionDied = true;
     ++d_ds->tcpDiedSendingQuery;
     VERBOSESLOG(infolog("Could not submit SETTINGS: %s", nghttp2_strerror(rv)),
-                getLogger()->error(Logr::Info, nghttp2_strerror(rv), "Could not submit SETTINGS"));
+                ConnectionToBackend::getLogger()->error(Logr::Info, nghttp2_strerror(rv), "Could not submit SETTINGS"));
     return;
   }
 }