Skip to content

Commit

Permalink
Typos is comments
Browse files Browse the repository at this point in the history
Co-authored-by: Miod Vallat <[email protected]>
  • Loading branch information
omoerbeek and miodvallat authored Feb 7, 2025
1 parent a759843 commit baad227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdns/recursordist/rec-rust-lib/rust/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
*/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit baad227

Please sign in to comment.