chore: typo and deps

This commit is contained in:
Jun Kurihara 2024-06-10 14:19:29 +09:00
commit 55c3bfb85b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ impl TryInto<Arc<ServerCrypto>> for &ServerCryptoBase {
type Error = RpxyCertError; type Error = RpxyCertError;
fn try_into(self) -> Result<Arc<ServerCrypto>, Self::Error> { 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()?; let individual = self.build_individual_server_crypto_map()?;
Ok(Arc::new(ServerCrypto { Ok(Arc::new(ServerCrypto {
aggregated_config_no_client_auth: Arc::new(aggregated), 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 /// 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(); let mut resolver_global = ResolvesServerCertUsingSni::new();
// AWS LC provider by default // AWS LC provider by default

View file

@ -83,7 +83,7 @@ tokio-rustls = { version = "0.26.0", features = ["early-data"] }
tracing = { version = "0.1.40" } tracing = { version = "0.1.40" }
# http/3 # http/3
quinn = { version = "0.11.1", optional = true } quinn = { version = "0.11.2", optional = true }
h3 = { version = "0.0.5", optional = true } h3 = { version = "0.0.5", optional = true }
h3-quinn = { version = "0.0.6", optional = true } h3-quinn = { version = "0.0.6", optional = true }
s2n-quic-h3 = { path = "../submodules/s2n-quic-h3/", optional = true } s2n-quic-h3 = { path = "../submodules/s2n-quic-h3/", optional = true }