exp
Some checks are pending
Unit Test / test (push) Waiting to run
ShiftLeft Scan / Scan-Build (push) Waiting to run

This commit is contained in:
ZettaScript 2025-10-13 15:25:15 +02:00
commit d9efeb42d6
11 changed files with 778 additions and 54 deletions

View file

@ -14,12 +14,13 @@ publish.workspace = true
[features]
default = [
"http3-quinn",
"provider-ring",
# "http3-quinn",
"cache",
"rustls-backend",
"sticky-cookie",
"acme",
"post-quantum",
# "acme",
# "post-quantum",
]
# default = [
# "http3-s2n",
@ -29,6 +30,12 @@ default = [
# "acme",
# "post-quantum",
# ]
provider-aws-lc-rs = ["rpxy-lib/rustls-backend-aws-lc-rs"]
provider-boring = ["rpxy-lib/rustls-backend-boring"]
provider-openssl = ["rpxy-lib/rustls-backend-openssl"]
provider-ring = ["rpxy-lib/rustls-backend-ring"]
provider-symcrypt = ["rpxy-lib/rustls-backend-symcrypt"]
provider-wolfcrypt = ["rpxy-lib/rustls-backend-wolfcrypt"]
http3-quinn = ["rpxy-lib/http3-quinn"]
http3-s2n = ["rpxy-lib/http3-s2n"]
native-tls-backend = ["rpxy-lib/native-tls-backend"]

View file

@ -173,6 +173,7 @@ pub struct ReverseProxyOption {
pub upstream: Vec<UpstreamParams>,
pub upstream_options: Option<Vec<String>>,
pub load_balance: Option<String>,
pub set_host: Option<String>,
}
#[derive(Deserialize, Debug, Default, PartialEq, Eq, Clone)]
@ -398,6 +399,7 @@ impl TryInto<Vec<ReverseProxyConfig>> for &Application {
upstream,
upstream_options: rpo.upstream_options.clone(),
load_balance: rpo.load_balance.clone(),
set_host: rpo.set_host.clone(),
})
}