]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Process very initial review comments (docs and comments and trivial changes)
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 4 Feb 2025 10:06:18 +0000 (11:06 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 11 Feb 2025 15:28:22 +0000 (16:28 +0100)
.github/actions/spell-check/expect.txt
pdns/recursordist/rec-main.cc
pdns/recursordist/rec-rust-lib/cxxsupport.cc
pdns/recursordist/rec-rust-lib/docs-new-preamble-in.rst
pdns/recursordist/rec-rust-lib/rust/build.rs

index ec17629a36f608582a3d2e509b5f86f772abb8f8..838f4ef91357dc14c83a10fe189c7d47d816667f 100644 (file)
@@ -918,7 +918,6 @@ nproxy
 NPTL
 NSes
 NSID
-nsid
 nsis
 nsrecord
 nsset
@@ -1500,7 +1499,6 @@ Viala
 viewcode
 visitedlinkcolor
 Vixie
-vixie
 vla
 Voegeli
 Volker
index 0c2de94667e0fb7d90589eac75f1a8cb6407b28f..9718d44f9be70682268629b8596eabaeae618618 100644 (file)
@@ -2920,26 +2920,9 @@ static void recursorThread()
     }
 
     t_fdm = unique_ptr<FDMultiplexer>(getMultiplexer(log));
-#if 0
-    std::unique_ptr<RecursorWebServer> rws;
-#endif
     t_fdm->addReadFD(threadInfo.getPipes().readToThread, handlePipeRequest);
 
     if (threadInfo.isHandler()) {
-#if 0
-      if (::arg().mustDo("webserver")) {
-        SLOG(g_log << Logger::Warning << "Enabling web server" << endl,
-             log->info(Logr::Info, "Enabling web server"));
-        try {
-          rws = make_unique<RecursorWebServer>(t_fdm.get());
-        }
-        catch (const PDNSException& e) {
-          SLOG(g_log << Logger::Error << "Unable to start the internal web server: " << e.reason << endl,
-               log->error(Logr::Critical, e.reason, "Exception while starting internal web server"));
-          _exit(99);
-        }
-      }
-#endif
       SLOG(g_log << Logger::Info << "Enabled '" << t_fdm->getName() << "' multiplexer" << endl,
            log->info(Logr::Info, "Enabled multiplexer", "name", Logging::Loggable(t_fdm->getName())));
     }
index bbc7f60dd194ecd6ad346f5429265826d3e12519..89845cb26ce332a5362dee9b346aa46bfbb2cf75 100644 (file)
@@ -1480,8 +1480,6 @@ bool isValidHostname(::rust::Str str)
   }
 }
 
-void findBetterSolution(const std::unique_ptr<CredentialsHolder>& /* x */){};
-
 std::unique_ptr<ComboAddress> comboaddress(::rust::Str str)
 {
   return std::make_unique<ComboAddress>(::ComboAddress(std::string(str)));
index 7723373f06ead7da1852ee73d0952a3511721424..6802123ab0a38dbcc96eef723c3367ac793cbafb 100644 (file)
@@ -537,7 +537,7 @@ For catalog zone members in a group, the forwarding parameters will be taken fro
 The forwarding definitions will be written into a file ``$api_dir/catzone.$zonename``. :ref:`setting-yaml-webservice.api_dir` must be defined, the directory must exist and be writable by the :program:`Recursor` process.
 
 IncomingWSConfig
-^^^^^^^^^^^^^^^^^^^^^
+^^^^^^^^^^^^^^^^
 As of version 5.3.0, an incoming web server configuration is defined as
 
 .. code-block:: yaml
@@ -562,7 +562,7 @@ A :ref:`setting-yaml-webservice.listen` section contains a sequence of `Incoming
 
 If no ``tls`` section is present, plaintext ``http`` connections are accepted on the listed addresses.
 
-If a ``tls`` section is present, clienst are required to use ``https`` to contact any of the address-port combinations listen in addresses. At the moment it is not possible to list additional properties of the TLS listener and encrypted key files cannot be used.
+If a ``tls`` section is present, clients are required to use ``https`` to contact any of the address-port combinations listen in addresses. At the moment it is not possible to list additional properties of the TLS listener and encrypted key files cannot be used.
 
 
 The YAML settings
index 21eb063a8d1a2dead9760b62c4c67d78a39b6a1c..b2e9b952eb2ce210d85f3f78f150e4500f1ff2e4 100644 (file)
@@ -7,7 +7,7 @@ fn main() {
         .flag("-I../../..")
         .compile("settings");
 
-    // lib.rs is genertated an take carte of by parent Makefile
+    // lib.rs is generated and take care of by parent Makefile
     println!("cargo:rerun-if-changed=src/misc.rs");
     println!("cargo:rerun-if-changed=src/web.rs");
 }