This commit is contained in:
Jun Kurihara 2022-07-28 19:46:03 +09:00
commit 4d590f328f
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
8 changed files with 39 additions and 33 deletions

View file

@ -16,7 +16,7 @@ mod proxy;
mod utils;
use crate::{
backend::{Backend, Backends, ServerNameExp},
backend::{Backend, Backends, ServerNameBytesExp},
config::parse_opts,
constants::*,
error::*,
@ -72,7 +72,7 @@ fn main() {
runtime_handle: runtime.handle().clone(),
backends: Backends {
default_server_name_bytes: None,
apps: HashMap::<ServerNameExp, Backend>::default(),
apps: HashMap::<ServerNameBytesExp, Backend>::default(),
},
sni_consistency: true,