wip: support rustls-0.23 for http3-quinn
This commit is contained in:
parent
0c6f3edf18
commit
234abae5dd
10 changed files with 63 additions and 53 deletions
|
|
@ -73,7 +73,6 @@ pub fn build_settings(config: &ConfigToml) -> std::result::Result<(ProxyConfig,
|
|||
// build applications
|
||||
let mut app_config_list_inner = Vec::<AppConfig>::new();
|
||||
|
||||
// let mut backends = Backends::new();
|
||||
for (app_name, app) in apps.0.iter() {
|
||||
let _server_name_string = app.server_name.as_ref().ok_or(anyhow!("No server name"))?;
|
||||
let registered_app_name = app_name.to_ascii_lowercase();
|
||||
|
|
|
|||
|
|
@ -230,7 +230,10 @@ impl Application {
|
|||
tls.https_redirection.unwrap()
|
||||
};
|
||||
|
||||
Some(TlsConfig { https_redirection })
|
||||
Some(TlsConfig {
|
||||
mutual_tls: tls.client_ca_cert_path.is_some(),
|
||||
https_redirection,
|
||||
})
|
||||
} else {
|
||||
None
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue