]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix formatting and a clang-tidy warning
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Feb 2025 09:15:30 +0000 (10:15 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 3 Feb 2025 09:15:30 +0000 (10:15 +0100)
pdns/dnsdistdist/dnsdist-actions-factory.cc
pdns/dnsdistdist/dnsdist-nghttp2.hh

index a74d8d28b65edd93ab233d559361744852c7683f..c8550f4c9da4796bdad28d7a3d72c320c612be89 100644 (file)
@@ -2364,7 +2364,6 @@ std::shared_ptr<DNSAction> getHTTPStatusAction(uint16_t status, PacketBuffer&& b
 #endif
 }
 
-
 std::shared_ptr<DNSResponseAction> getLimitTTLResponseAction(uint32_t min, uint32_t max, std::unordered_set<QType> types)
 {
   return std::shared_ptr<DNSResponseAction>(new LimitTTLResponseAction(min, max, std::move(types)));
index 043b4977e1efe352f5bbccdda4164bdc5bc708df..83317593538df292704f0f50f17194eb5a345147 100644 (file)
@@ -64,7 +64,7 @@ bool initDoHWorkers();
 
 /* opens a new HTTP/2 connection to the supplied backend (attached to the supplied multiplexer), sends the query,
    waits for the response to come back or an error to occur then notifies the sender, closing the connection. */
-bool sendH2Query(const std::shared_ptr<DownstreamState>& ds, std::unique_ptr<FDMultiplexer>& mplexer, std::shared_ptr<TCPQuerySender>& sender, InternalQuery&& query, bool healthCheck);
+bool sendH2Query(const std::shared_ptr<DownstreamState>& downstream, std::unique_ptr<FDMultiplexer>& mplexer, std::shared_ptr<TCPQuerySender>& sender, InternalQuery&& query, bool healthCheck);
 size_t handleH2Timeouts(FDMultiplexer& mplexer, const struct timeval& now);
 size_t clearH2Connections();