]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Typos is comments
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 7 Feb 2025 10:06:37 +0000 (11:06 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 11 Feb 2025 15:28:22 +0000 (16:28 +0100)
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
pdns/recursordist/rec-rust-lib/rust/src/web.rs

index e4cb207651d42bb2b577218807266d0ef8b16e5b..703698cfde61b8cb730f5841917eb4841be394c2 100644 (file)
@@ -25,7 +25,7 @@ TODO
 - Table based routing?
 - Ripping out yahttp stuff, providing some basic classes only. ATM we do use a few yahttp include files (but no .cc)
 - Some classes (NetmaskGroup, ComboAddress) need a UniquePtr Wrapper to keep them opaque (iputils
-  cannot be included without big headages in bridge.hh at the moment). We could seperate
+  cannot be included without big headaches in bridge.hh at the moment). We could seperate
   NetmaskGroup, but I expect ComboAddress to not work as it is union.
 - Avoid unsafe? Can it be done?
 */
@@ -935,7 +935,7 @@ pub fn serveweb(
                     let tls = crate::web::rustweb::IncomingTLS {
                         certificate: config.tls.certificate.clone(),
                         key: config.tls.key.clone(),
-                        // password: config.tls.password.clone(), not supported (yet), ruttls does not handle it
+                        // password: config.tls.password.clone(), not supported (yet), rusttls does not handle it
                     };
                     if !tls.certificate.is_empty() {
                         tls_enabled = true;
@@ -1091,7 +1091,7 @@ mod rustweb {
     }
 
     // Clippy does not seem to understand what cxx does and complains about needless_lifetimes
-    // The warning is silenced that warning above
+    // The warning is silenced above
     struct Request<'a> {
         body: Vec<u8>,
         uri: String,