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
|
|
@ -13,8 +13,8 @@ publish.workspace = true
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
# default = ["http3-quinn", "cache", "rustls-backend"]
|
||||
default = ["cache", "rustls-backend"]
|
||||
default = ["http3-quinn", "cache", "rustls-backend"]
|
||||
# default = ["cache", "rustls-backend"]
|
||||
http3-quinn = ["rpxy-lib/http3-quinn"]
|
||||
http3-s2n = ["rpxy-lib/http3-s2n"]
|
||||
native-tls-backend = ["rpxy-lib/native-tls-backend"]
|
||||
|
|
|
|||
|
|
@ -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