use bytesname trait to explicitly convert &str/string to ascii lower-cased byte names of server / path

This commit is contained in:
Jun Kurihara 2022-07-28 20:45:22 +09:00
commit 7bd9040637
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
10 changed files with 49 additions and 46 deletions

View file

@ -16,13 +16,14 @@ mod proxy;
mod utils;
use crate::{
backend::{Backend, Backends, ServerNameBytesExp},
backend::{Backend, Backends},
config::parse_opts,
constants::*,
error::*,
globals::*,
log::*,
proxy::Proxy,
utils::ServerNameBytesExp,
};
use futures::future::select_all;
use handler::HttpMessageHandler;