Merge pull request #159 from junkurihara/feat/update-cache-semantics
feat: update cache semantics
This commit is contained in:
commit
da4afcf5a5
3 changed files with 5 additions and 5 deletions
|
|
@ -39,7 +39,7 @@ impl TryInto<Arc<ServerCrypto>> for &ServerCryptoBase {
|
|||
type Error = RpxyCertError;
|
||||
|
||||
fn try_into(self) -> Result<Arc<ServerCrypto>, Self::Error> {
|
||||
let aggregated = self.build_aggrated_server_crypto()?;
|
||||
let aggregated = self.build_aggregated_server_crypto()?;
|
||||
let individual = self.build_individual_server_crypto_map()?;
|
||||
Ok(Arc::new(ServerCrypto {
|
||||
aggregated_config_no_client_auth: Arc::new(aggregated),
|
||||
|
|
@ -117,7 +117,7 @@ impl ServerCryptoBase {
|
|||
|
||||
/* ------------------------------------------------ */
|
||||
/// Build aggregated server crypto inner object for no client auth server especially for http3
|
||||
fn build_aggrated_server_crypto(&self) -> Result<ServerConfig, RpxyCertError> {
|
||||
fn build_aggregated_server_crypto(&self) -> Result<ServerConfig, RpxyCertError> {
|
||||
let mut resolver_global = ResolvesServerCertUsingSni::new();
|
||||
|
||||
// AWS LC provider by default
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ tokio-rustls = { version = "0.26.0", features = ["early-data"] }
|
|||
tracing = { version = "0.1.40" }
|
||||
|
||||
# http/3
|
||||
quinn = { version = "0.11.1", optional = true }
|
||||
quinn = { version = "0.11.2", optional = true }
|
||||
h3 = { version = "0.0.5", optional = true }
|
||||
h3-quinn = { version = "0.0.6", optional = true }
|
||||
s2n-quic-h3 = { path = "../submodules/s2n-quic-h3/", optional = true }
|
||||
|
|
@ -97,7 +97,7 @@ s2n-quic-rustls = { version = "0.38.1", optional = true }
|
|||
socket2 = { version = "0.5.7", features = ["all"], optional = true }
|
||||
|
||||
# cache
|
||||
http-cache-semantics = { path = "../submodules/rusty-http-cache-semantics/", optional = true }
|
||||
http-cache-semantics = { path = "../submodules/rusty-http-cache-semantics", default-features = false, optional = true }
|
||||
lru = { version = "0.12.3", optional = true }
|
||||
sha2 = { version = "0.10.8", default-features = false, optional = true }
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 08a6b5a9dcb6f7d960007ae9c4265fe67851abfb
|
||||
Subproject commit d5b5efd9de4dab3c958c50be5380652d801cc65f
|
||||
Loading…
Add table
Add a link
Reference in a new issue